[regex] Bug: negative lookahead does not work in 1.33.0

27 Sep
2005
27 Sep
'05
9:28 p.m.
The following regex should match any document that IS NOT a pdf file: .*[.](?!pdf$).*$ This regex should match: Mynotes.doc It should fail on: Myinfo.pdf However, the above regex returns true on both using boost 1.33.0. But positive lookahead works fine: .*[.](?=pdf$).*$ Above regex correctly matches only documents ending in .pdf . Can anyone confirm this is a bug? Thanks, -Rob

28 Sep
28 Sep
11:03 a.m.
New subject: [regex] Bug: negative lookahead does not work in1.33.0
Can anyone confirm this is a bug?
The only thing I can tell you at present is it works as expected with the forthcomming 1.33.1, I don't think I've fixed this one without noticing, but you never know :-) Do you have a sample test case? John.
7089
Age (days ago)
7090
Last active (days ago)
1 comments
2 participants
participants (2)
-
John Maddock
-
Rob Willis