In addition to a style attribute like extensions:tif/tiff, we should support a way to define file name patterns, such as pattern:WildType*.tif (wildcard pattern) and/or pattern:^[A-Za-z0-9]+\.png (regex pattern).
Getting the style modifier will be simplified once scijava/scijava-common#405 is merged and released.
Open questions:
- Two different style attributes for wildcards and regexes? E.g.
regex-pattern and wildcard-pattern, or regex and pattern, ...
- Additional flags to specify case (in)sensitivity? For regex patterns, we could use standard syntax like
/[A-Z]/gmi or (?i)[A-Z]; I'm not sure about conventions for the wildcard case...
In addition to a style attribute like
extensions:tif/tiff, we should support a way to define file name patterns, such aspattern:WildType*.tif(wildcard pattern) and/orpattern:^[A-Za-z0-9]+\.png(regex pattern).Getting the style modifier will be simplified once scijava/scijava-common#405 is merged and released.
Open questions:
regex-patternandwildcard-pattern, orregexandpattern, .../[A-Z]/gmior(?i)[A-Z]; I'm not sure about conventions for the wildcard case...