regexec and regcomp more efficient than doing strncmp myself?
I have a string like this:
    
    I am down in the town seeing a crown="larry" with a cherry="red"
    
I want to write a program that asks user what she wants. If she requests the string that should have "larry" as crown and "red" cherry, I need to return the string.

Okay, I am over simplifying the problem here. There can be many such strings and I need to parse through them and return all that matches. 

Question: doing regexec and regcomp is more efficient or breaking down the string and doing strncmp?

PS: It seems that regexec would need to do some sort of comparison internally and those would have been designed to be much efficient. 
regexec and regcomp more efficient than doing strncmp myself?
===

I have a string like this:
    
    I am down in the town seeing a crown="larry" with a cherry="red"
    
I want to write a program that asks user what she wants. If she requests the string that should have "larry" as crown and "red" cherry, I need to return the string.

Okay, I am over simplifying the problem here. There can be many such strings and I need to parse through them and return all that matches. 

Question: doing regexec and regcomp is more efficient or breaking down the string and doing strncmp?

PS: It seems that regexec would need to do some sort of comparison internally and those would have been designed to be much efficient. 