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

Chris A. Mattmann resolved TIKA-194.
------------------------------------

    Resolution: Fixed

- issue resolved in r751586.

I fixed a pretty notable bug along the way: the addGlob function in 
Patterns.java was adding glob patterns to the extension Map, rather than the 
globs Map. 

> Support java regular expressions in glob pattern spec for mime repo
> -------------------------------------------------------------------
>
>                 Key: TIKA-194
>                 URL: https://issues.apache.org/jira/browse/TIKA-194
>             Project: Tika
>          Issue Type: Improvement
>          Components: mime
>         Environment: indep. of env.
>            Reporter: Chris A. Mattmann
>            Assignee: Chris A. Mattmann
>             Fix For: 0.3
>
>
> Currently the mime repo does not support java regular expressions as 
> specifications for glob patterns. It would be nice to support this, e.g., 
> with a flag such as:
> <glob pattern="\d{4}*.txt" isregex="true"/>
> When specified _and_ set to "true", the flag would indicate that a glob 
> pattern is to be interpreted as a java regular expression, rather than a std 
> freedesktop.org mime glob pattern.
> Patch forthcoming.

-- 
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