Skip to content

Fixed regular expression case-insensitive modifier#2

Open
benjaminwinger wants to merge 1 commit intojohn-moonsugar:masterfrom
benjaminwinger:regex-fix
Open

Fixed regular expression case-insensitive modifier#2
benjaminwinger wants to merge 1 commit intojohn-moonsugar:masterfrom
benjaminwinger:regex-fix

Conversation

@benjaminwinger
Copy link
Copy Markdown

Replacer regular expressions have the form /a/b/, but the (?i) to indicate a pattern is case-insensitive needs to be part of the pattern, so prepending it to the expression is invalid.

This causes all tes3cmd modify --replace commands to fail, as the pattern is always invalid.

I've modified it to append i at the end since that's simpler than inserting it into the pattern.

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.

1 participant