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 2004/03/17 15:02:47 UTC
DO NOT REPLY [Bug 27740] New: -
At execution org.apache.regexp. RE.substr (substIn, substOut, REPLACE_ALL) "bites off" first two symbols of substOut if substOut contains $0-$9
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27740>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27740
At execution org.apache.regexp. RE.substr (substIn, substOut, REPLACE_ALL) "bites off" first two symbols of substOut if substOut contains $0-$9
Summary: At execution org.apache.regexp. RE.substr (substIn,
substOut, REPLACE_ALL) "bites off" first two symbols of
substOut if substOut contains $0-$9
Product: Regexp
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Other
AssignedTo: regexp-dev@jakarta.apache.org
ReportedBy: mvtm@mail.ru
At execution org.apache.regexp. RE.substr (substIn, substOut, REPLACE_ALL)
"bites off" first two symbols of substOut if substOut contains $0-$9. Also, if
substOut contains $0-$9 from a position less than 2, subst(.. falls with
StringOutOfBoundsException: String index out of range: -2 (or -1).
---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-dev-help@jakarta.apache.org