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