jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24234] - Doesn't seem to be a way to use '\' in subst with back_references
Date Sun, 29 Feb 2004 06:27:58 GMT
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=24234>.
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=24234

Doesn't seem to be a way to use '\' in subst with back_references





------- Additional Comments From son@sparc.spb.su  2004-02-29 06:27 -------
Previous suggested fix has some problems with handling escaped \,
e.g. it's impossible to write string so it produces one \ followed by some 
backreferenced part (i.e. "\\\$0" wiil produce "\\<some_text>", not "\<some text>"
Also the patch introduces imcompatibility.
To fix these problems I add new REPLACE_WITH_ESCAPES constant and rewrite
subst() so it consistently handles escaped characters.

---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-dev-help@jakarta.apache.org


Mime
View raw message