scitran / core

RESTful API
https://scitran.github.io
MIT License
18 stars 18 forks source link

Allow regex matching in rules #982

Closed ambrussimon closed 6 years ago

ambrussimon commented 7 years ago

Extend matches (individual entries in a rule's all and/or any array) with an optional regex boolean field. When this field is present and set to true, use a regular expression match (implicit ^...$) instead of an exact match (or instead of glob match in case of file.name).