|
Boost Users : |
From: david v (danova_fr_at_[hidden])
Date: 2007-07-05 05:37:01
Right,
That's the confusion here !!!!
thanks.!!
Gottlob Frege wrote:
>On 7/4/07, david v <danova_fr_at_[hidden]> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net