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/09/02 16:18:38 UTC
[DO NOT REPLY: Bug 3373] New:
jakarta-oro-2.0.4 regexp compile and match error
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3373
*** shadow/3373 Sun Sep 2 07:18:38 2001
--- shadow/3373.tmp.12455 Sun Sep 2 07:18:38 2001
***************
*** 0 ****
--- 1,37 ----
+ +============================================================================+
+ | jakarta-oro-2.0.4 regexp compile and match error |
+ +----------------------------------------------------------------------------+
+ | Bug #: 3373 Product: Regexp |
+ | Status: NEW Version: unspecified |
+ | Resolution: Platform: PC |
+ | Severity: Normal OS/Version: Windows NT/2K |
+ | Priority: Other Component: Other |
+ +----------------------------------------------------------------------------+
+ | Assigned To: regexp-dev@jakarta.apache.org |
+ | Reported By: samanov@yahoo.com |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ Windows Java(TM) 2 SDK, Standard Edition Version 1.3.0_02
+
+ org.apache.oro.text.perl.Perl5Util reports error in match("/^([A-Za-z]{2,}\\s+
+ (?:(?i:o|mc)['`"])[A-Za-z]{2,})\\s*$/m", String body)
+
+ org.apache.oro.text.MalformedCachePatternException: Invalid expression: ^([A-Za-
+ z]{2,}\s+(?:(?i:o|mc)['`"])[A-Za-z]{2,})\s*$
+ Sequence (?:...) not recognized
+
+ while perl 5.005_03 doesn't do. Being changed to "/^([A-Za-z]{2,}\\s+(?:(?:[oO]|
+ [mM][cC])['`"])[A-Za-z]{2,})\\s*$/m it still can't find string "Janet O'Neil"
+ in the following text (and perl can do):
+
+ ============================
+ 27 Tallahatchie Drive � Sussex, New Jersey 07461
+ Phone 973.875.5118 � Fax 973.875.4622 � E-mail 24601@warwick.net
+ url http://www.janetoneil.com
+ Janet O'Neil
+ Summary of qualifications
+ ...
+ ============================