Boost logo

Boost Users :

From: Chandan Nilange (chandan_nilange_at_[hidden])
Date: 2007-07-05 09:09:38


Hello,

Can boost_regex handle overlapping matches.

e.g
RegularExpression=> "12345678901\\d"
String=> "12345678901123456789012"

Should generate following 2 Matches:
1st Matching Pattern:123456789011
Pattern starts at :0
Pattern ends at: 11
Pattern length:12
2nd Matching Pattern:123456789012
Pattern starts at :11
Pattern ends at: 22
Pattern length:12

I know, the documention talks only about
non-overlapping matches.
Just want to know if overlapping-matches support is
likely to be added to boost_regex.

Regards,
Chandan

       
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/


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