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

Allow for multiple regexes instead of just one #25

Open
elbrujohalcon opened this issue Jan 11, 2022 · 0 comments
Open

Allow for multiple regexes instead of just one #25

elbrujohalcon opened this issue Jan 11, 2022 · 0 comments
Labels
feature 🚀 Feature Request

Comments

@elbrujohalcon
Copy link
Collaborator

rebar3_sheldon version

0.3.1

OS version

macOS 11.6

Description

  • Motivation
    Since the regex should capture many scenarios, it ends up being super large and ugly. Even if its then compiled into an ugly large one, I would like to be able to define and, more importantly, name a few ones.

  • Proposal
    Allow users to use this:

{spellcheck,
 [{ignore_regexes,
   #{eunit_files => "eunit",
      maps_in_comments => "=>",
      io_format_stuff => "~t",
      semver => "~>",
      …
    }]}.

instead of this:

{spellcheck,
 [{ignore_regex,
   "(eunit|=>|~t|_|~>|…"}]}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant