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

Niall Pemberton resolved IO-246.
--------------------------------

         Assignee: Niall Pemberton
    Fix Version/s: 2.0
       Resolution: Fixed

Fixed, http://svn.apache.org/viewvc?view=revision&revision=1002582

> FilenameUtils.wildcardMatch gives incorrect results
> ---------------------------------------------------
>
>                 Key: IO-246
>                 URL: https://issues.apache.org/jira/browse/IO-246
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Filters
>    Affects Versions: 1.4
>         Environment: any
>            Reporter: vva
>            Assignee: Niall Pemberton
>            Priority: Minor
>             Fix For: 2.0
>
>         Attachments: IO-246-wildcardMatch.patch
>
>
> This wildcard pattern "*?" does not match correctly. The command:
> System.out.println(FilenameUtils.wildcardMatch("aaa", "*?"));
> prints out "false", even though it matches. The wildcard mask is a bit 
> unusal, but not incorrect. It should match any input with at least one 
> character.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to