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 2121] - '.' or '-' in bracket expression gives unexpected results
Date Tue, 17 Feb 2004 06:42:35 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=2121>.
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=2121

'.' or '-' in bracket expression gives unexpected results





------- Additional Comments From son@sparc.spb.su  2004-02-17 06:42 -------
The problem with MATCH_POSIX flag is that it's not a pure "matching time" flag
as all other ones.  We need to make a decision on how interpret '-' during
"compile time" (when we create program), because program for "[-]" and
"[\u0000-\uFFFF]" will be the same.  I, personally, think that we shouldn't
enhance program structure to catch this particular case IMHO this is overkill.

I'd say that regexp package should just make a decision on how it handles 
incomplete ranges and does so without any flags.

---------------------------------------------------------------------
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