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/24 16:04:42 UTC

DO NOT REPLY [Bug 22680] New: - pattern matching on strings containing RE literals fails

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

pattern matching on strings containing RE literals fails

           Summary: pattern matching on strings containing RE literals fails
           Product: Regexp
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: regexp-dev@jakarta.apache.org
        ReportedBy: mschipperheyn@hotmail.com


The following examples contain html characters and may therefore be invisible 
in a browser:

RE: <title>.*</title> - matches <title>My HTML page</title>
RE: <!--.*--> - does not match:
<!--[if supportFields]> DOCPROPERTY &quot;Author&quot; \* CHARFORMAT <![endif]--
>
in the above string
RE: <!--\[if.*DOC - does not match anything either

it seems to be because of the presence of RE specific literals in the string 
like [,\ and *?