es128 / progeny

:baby: Recursively finds dependencies of style and template source files
MIT License
29 stars 15 forks source link

`regexps` or `regexpList` setting #29

Open phil-r opened 7 years ago

phil-r commented 7 years ago

Hi! We use progeny to find multiple types of dependencies and having one regexp to "rule them all" (with one capture group) is a bit complex. So my proposal is to add something like regexpList setting. What do you think?

es128 commented 7 years ago

Sure, sounds straightforward enough. Maybe just leave it in the existing regexp param, but duck-type for an array to allow multiple.