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

Support context for regular expressions #3

hahnjo opened this issue Jun 24, 2018 · 0 comments


Copy link

@hahnjo hahnjo commented Jun 24, 2018

Some configuration files use a hierarchical format where a single line might be interpreted differently based on the context:

dir = "..."
dir = "..."

Currently all regular expressions are applied to a single line so these cases cannot be handled.

Proposal: Add optional keys after and before (naming to be decided) to allow specifying regular expressions that have to be match before / must not be found before the actual search expression.

@hahnjo hahnjo added the enhancement label Jun 24, 2018
@hahnjo hahnjo added this to the 1.1 milestone Jun 24, 2018
@hahnjo hahnjo closed this in a00397a Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.