GNOME Bugzilla – Bug 319897
Simple regexp doesn't work correctly
Last modified: 2005-11-01 15:24:50 UTC
Please describe the problem: A simple regular expression (\d{1,3}\.){3}\d{1,3} doesn't work correctly. testRegexp reports "Fail" on correct data (checked by Perl script). Steps to reproduce: 1. Run the following command: testRegexp.exe "(\d{1,3}\.){3}\d{1,3}" "1.2.33.444" -debug 2. Perl script, like: $s = "1.2.33.444"; print "OK!" if ($s =~ /^(\d{1,3}\.){3}\d{1,3}$/); works just fine. Actual results: testRegexp prints "Fail" Expected results: testRegexp must print "Ok" Does this happen every time? Yes Other information:
I can reproduce this, probably related to the other regexp bug. I have no time at work for this those days, maybe the week-ends, and I already spend an awful lot of time on the regexp debugging lately ... Daniel
Okay I chased that one down, it's fixed in CVS now and I added the case to the regression suite. Thanks ! Daniel