http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2487

*** shadow/2487 Fri Jul  6 15:57:14 2001
--- shadow/2487.tmp.21033       Fri Jul  6 15:57:14 2001
***************
*** 0 ****
--- 1,25 ----
+ +============================================================================+
+ | Bracketed quantifiers {n,m} don't accept 0 as a lower bound.               |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2487                        Product: Regexp                  |
+ |       Status: NEW                         Version: unspecified             |
+ |   Resolution:                            Platform: Other                   |
+ |     Severity: Minor                    OS/Version: Other                   |
+ |     Priority: Other                     Component: Other                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                |
+ |  Reported By: [EMAIL PROTECTED]                                               |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ An expression like: \w\d{0,4} should match "a" and "a1".  The current 
+ implemenation (release 1.2), treats a lower bound of 0 as 1.
+ 
+ Test case:
+ 
+ RE expr = new RE("\w\d{0,4}");
+ if (expr.match("a")) {
+   //should be true!
+ }

Reply via email to