http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1030 *** shadow/1030 Mon Mar 19 14:05:51 2001 --- shadow/1030.tmp.7268 Mon Mar 19 14:05:51 2001 *************** *** 0 **** --- 1,25 ---- + +============================================================================+ + | {n,m} notation failure in org.apache.regexp.RE.match | + +----------------------------------------------------------------------------+ + | Bug #: 1030 Product: Regexp | + | Status: NEW Version: unspecified | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: | + | Priority: Medium Component: Other | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + I asked jakarta-regexp-1.2 to test the string "111111" against the regexp + pattern "^\d{0,5}(\.\d\d)?$". I believe this string should have failed, but + the method org.apache.regexp.RE.match() returned "true" when it should have + returned "false". + + I tested the same string using the ORO and GNU libraries - both agreed that + this string should not match this pattern. + + I ran all examples under Windows 2000 using JDK 1.3.