Boost logo

Boost Users :

From: Robert (boost_at_[hidden])
Date: 2005-06-30 11:22:14


Hello,

 

  I have this regex:

 

^.*(?=(?:.*[A-Z]){2,})(?=(?:.*\d){2,}).*$

 

According to RegExBuddy, this should match with a string that has two upper
cases and two digits. However, using the boost_regex_vc7 dll the result
works with two upper case, a single digit, and any other character. For
example, AA1! Matches, but it shouldn't.

 

Can someone help me identify if it is RegEx that has the bug, RegExBuddy, or
if I am just off my rocker!

 

Thanks

 

Robert

 



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