mpetrovich / stylemark

Generate interactive style guides from Markdown.
MIT License
218 stars 35 forks source link

Is match regex working? #72

Open msapalas opened 5 years ago

msapalas commented 5 years ago

I'm trying to add match as regex, where it should match and use for generator only files with specific extension:

match:
  - '/.*\.(sass|scss|less|css)/g'

But I'm not getting any matches or generated code.

On the regex tester looks all fine: https://www.regextester.com/108405

Has someone a successfull example how to use 'match' with regex?

mpetrovich commented 5 years ago

This might be a case of YAML -> RegExp not working correctly. We'll investigate!