You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/07/01 12:27:33 UTC
DO NOT REPLY [Bug 10371] New: -
Regex engine fails to match substrings
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10371>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10371
Regex engine fails to match substrings
Summary: Regex engine fails to match substrings
Product: Xerces-J
Version: 1.4.4
Platform: Other
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Other
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: Jochen.Schwarze@cit.de
The 1.4.4 regex package org.apache.xerces.utils.regex.* fails to match the
regex "\d+|\d*\.\d+" against the string "abc 42.7 xyz", see example code in
attachment. However, if there are no trailing characters after the matched text
in the target string, the regex will match.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org