commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Walsh (JIRA)" <>
Subject [jira] [Created] (DIGESTER-183) Match fails on trailing *
Date Tue, 22 Sep 2015 19:44:04 GMT
Ryan Walsh created DIGESTER-183:

             Summary: Match fails on trailing *
                 Key: DIGESTER-183
             Project: Commons Digester
          Issue Type: Bug
    Affects Versions: 3.2
            Reporter: Ryan Walsh

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

View raw message