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

Ryan Walsh updated DIGESTER-183:
--------------------------------
    Attachment: SimpleRegexMatcher_Trailing_asterisk.patch

this does a simple check if the next character in the regexPattern would have 
been a '*' given the basePattern is the same otherwise

> Match fails on trailing *
> -------------------------
>
>                 Key: DIGESTER-183
>                 URL: https://issues.apache.org/jira/browse/DIGESTER-183
>             Project: Commons Digester
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Ryan Walsh
>         Attachments: SimpleRegexMatcher_Trailing_asterisk.patch
>
>
> Match function kicks out if basePattern.length < regexPattern.length when 
> regexPattern only has a single trailing *
> For example:
> basePattern:  20150926|A|ABC|10
> regexPattern: 20150926|A|ABC|10*
> This should match since the spec says * ' matches any sequence of none, one 
> or more characters'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to