incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Frovarp (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DROIDS-151) Pattern matching operates on whole URL
Date Thu, 10 Nov 2011 22:21:51 GMT

     [ https://issues.apache.org/jira/browse/DROIDS-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard Frovarp resolved DROIDS-151.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.0.2
         Assignee: Richard Frovarp

Fixed in r1200598
                
> Pattern matching operates on whole URL
> --------------------------------------
>
>                 Key: DROIDS-151
>                 URL: https://issues.apache.org/jira/browse/DROIDS-151
>             Project: Droids
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.0.1, 0.0.2
>            Reporter: Richard Frovarp
>            Assignee: Richard Frovarp
>             Fix For: 0.0.2
>
>
> The URL pattern matching calls Matcher.matches(), which requires that the whole URL match
the pattern. This is painful and requires extra .*'s all over the place. If one wants to match
the whole thing, regex has markers for that. It should be switched to Matcher.finds().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message