Re: [Boost-users] Simple regex question

Right, That's the confusion here !!!! thanks.!! Gottlob Frege wrote:
On 7/4/07, david v
wrote: Ok i understand david and divad is the same so it's normal to find it twice, however why it always return as match "David" and not both matches "david" and "divad" in the order they appear in the searched string??? does not make sense to me ?? How can i get the matches in the same order they appear in the string ??
match returns what part of the input string matched the regex, not what part of the regex matched the input string.
so regex = "f*.r" stringtosearch = "foobarblah"
match is "foobar" not "f*.r"
Is that the confusion here?
Tony
_________________________________________________________________ MSN Messenger : appels gratuits de PC à PC ! http://www.msn.fr/newhotmail/Default.asp?Ath=f
participants (1)
-
david v