Skip to content

Conversation

code-asher
Copy link
Member

@code-asher code-asher commented Oct 9, 2023

Fixes #108

Still not sure why it reportedly worked before, as I think this code path has always been taken. Maybe there are certain conditions where parsing the config is skipped but I have not dug deep enough to be sure.

This is still not complete because we are not handling !, other characters like . should be handled literally, and maybe some other things, but it should resolve the immediate issues. We might also want to only parse hosts between the start/end block markers rather than the whole config, but I am not sure on that one.

@code-asher code-asher requested a review from kylecarbs October 9, 2023 22:39
@code-asher code-asher merged commit 5419f62 into main Oct 9, 2023
@code-asher code-asher deleted the invalid-regex branch October 9, 2023 22:48
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

Successfully merging this pull request may close these issues.

syntax error: invalid regular expression /^i-???????$/: nothing to repeat

2 participants