#2120 line filters not working well

open
nobody
5
2012-12-21
2012-08-23
Anonymous
No

version 2.12.4.0 unicode
tested on this expression and it does not work as intended
http://gskinner.com/RegExr/?31u2c

You wrote you use pcre library so i checked that one as well on linux
pcretest does match properly as well(see below):

$ pcretest
PCRE version 8.31 2012-07-06

re> /^\s*[$]{1}\s*[a-zA-Z]+[:]{1}\s*[\s.0-9]*[$]{1}$/
data> $Revision: 1.145.4.2 $
0: $Revision: 1.145.4.2 $
data> gfdgfdgfd rev 123.54
No match
data> $Revision: 1.5 $
0: $Revision: 1.5 $
data> $REVISION: 1.55345435.43243 $
0: $REVISION: 1.55345435.43243 $

If you need more details let me know

Regards
Lucas

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks