Skip to content

Escape backslash in PowerShell regex pattern#33

Merged
alex-feel merged 1 commit intomainfrom
alex-feel-dev
Aug 16, 2025
Merged

Escape backslash in PowerShell regex pattern#33
alex-feel merged 1 commit intomainfrom
alex-feel-dev

Conversation

@alex-feel
Copy link
Owner

No description provided.

Fixed 'Invalid regular expression pattern' error by properly escaping
the backslash in PowerShell's -replace operator. The pattern needs to
be '\' in the Python string to produce '\' in PowerShell regex.
@alex-feel alex-feel enabled auto-merge August 16, 2025 01:47
@alex-feel alex-feel merged commit d394776 into main Aug 16, 2025
5 checks passed
@alex-feel alex-feel deleted the alex-feel-dev branch August 16, 2025 01: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.

1 participant

Comments