Skip to content

Conversation

desertwitch
Copy link

@desertwitch desertwitch commented Mar 30, 2025

fixes #592

regex was parsed by string method and not considering escaped delimiters
a regex sequence with an escaped delimiter would be cut short (see issue)

lexing logic for parsing regex was moved into a separate method
a regex sequence with an escaped delimiter is now properly handled
test cases were added to make this behavior visible and testable for the future

@desertwitch desertwitch requested a review from a team as a code owner March 30, 2025 10:06
@desertwitch desertwitch requested review from bashbunni and removed request for a team March 30, 2025 10:06
@desertwitch
Copy link
Author

Missed a . at the end of a comment line, the linter didn't like that - but that's fixed and good to review now. 😉

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.

Impossible to escape / in Wait regex
1 participant