$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Rob Willis (rob.willis_at_[hidden])
Date: 2005-09-27 16:28:42
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