Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex for input #29

Open
knennigtri opened this issue Mar 2, 2022 · 0 comments
Open

Regex for input #29

knennigtri opened this issue Mar 2, 2022 · 0 comments

Comments

@knennigtri
Copy link
Owner

As a user, I want to be able to add regex values to the input param so that I don't have to manually write out every single file in the manifest. Examples:

Any file in the current directory starting with module-

input:
  frontmatter: ""
  module-*:  {noYAML: true}

Any file in the current directory starting with a number

input:
  frontmatter: ""
  ^[0-9]:  {noYAML: true}

Any file in the current directory ending with a word

input:
  frontmatter: ""
  word$:  {noYAML: true}

Any file in module/ ending in -chapter.md

input:
  /(?<=module/).*(?=-chapter.md)/g: ""
  module-*: {noYAML: true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant