Closed bojidar-bg closed 9 years ago
Nice idea, i already see, that regex isnt friendly. I will smoke some documentation about atom packages and minimatch. PRs are welcome=)
BTW, should I submit more matching-related ideas? :smiley:
@bojidar-bg yeah. For now i prefer simple String.match, but i will implement all interesting ideas.
It is much simpler to write rules using minimatch rather than regex. (Note that you can convert minimatch to regex if you think it is better...).
The best option will be to support both regex-based matching and minimatch/glob matching, but I can't wrap my head around it right now... :smile:
I might try to make a PR out of it... one day...