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/02/17 07:42:35 UTC
DO NOT REPLY [Bug 2121] -
'.' or '-' in bracket expression gives unexpected results
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