You are viewing a plain text version of this content. The canonical link for it is here.
Posted to regexp-dev@jakarta.apache.org by bu...@apache.org on 2001/03/02 13:37:30 UTC
[Bug 810] New - Error in regex
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=810
*** shadow/810 Fri Mar 2 04:37:30 2001
--- shadow/810.tmp.22730 Fri Mar 2 04:37:30 2001
***************
*** 0 ****
--- 1,24 ----
+ +============================================================================+
+ | Error in regex |
+ +----------------------------------------------------------------------------+
+ | Bug #: 810 Product: Regexp |
+ | Status: NEW Version: unspecified |
+ | Resolution: Platform: PC |
+ | Severity: Major OS/Version: |
+ | Priority: Component: Other |
+ +----------------------------------------------------------------------------+
+ | Assigned To: regexp-dev@jakarta.apache.org |
+ | Reported By: euge@guppy.mpe.nus.edu.sg |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ The following regular expression does not work with regex 1.2 (haven't tried
+ with older versions of regex though).
+
+ [^\s\(\)<>@,;:\\\"\.\[\]]
+
+ If my input is a '-' character, the regular expression does not match.
+ Logically, it should match since it has not been excluded from the expression.
+ I've verified it under perl that it should match.