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 2003/08/27 16:44:42 UTC

DO NOT REPLY [Bug 5306] - different results for same pattern: missing '^'

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=5306>.
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=5306

different results for same pattern: missing '^'

vgritsenko@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From vgritsenko@apache.org  2003-08-27 14:44 -------
That's a problem with passing command line arguments into the recompile, and not
with recompile itself. Please note how this one works, correctly:

java -cp jakarta-regexp-1.3-dev.jar org.apache.regexp.recompile "test" "a
([^\"]*?) \" b ([^\"]*?)"

Output:
// Pre-compiled regular expression 'a ([^"]*?) " b ([^"]*?)'

But, as soon as your remove \" before b, the output changes to:
// Pre-compiled regular expression 'a ([^"]*?) b (["]*?)'

I'll mark it as WONTFIX as there is nothing to fix with recompile itself.