Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-194

Support java regular expressions in glob pattern spec for mime repo

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • mime
    • None
    • indep. of env.

    Description

      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.

      Attachments

        Activity

          People

            chrismattmann Chris A. Mattmann
            chrismattmann Chris A. Mattmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: