Menu

#1 pcre_exec doesnt give matches exactly

open
nobody
None
5
2004-10-25
2004-10-25
Anonymous
No

Hi,

My sample string is "Mississippi" and the
pcre_compile call is re =
pcre_compile("[sp]{2}",0,&error,&erroffset,NULL);

The return rc value is 1 and the string indexes i get
are 2 and 4. it only matches the first occurance.
am i missing any options.

please help.

thanks,
stuart

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.