Skip to content

Use raw strings for re patterns in sensei and ansitowin32#296

Open
millerabel wants to merge 1 commit intogregmalcolm:masterfrom
millerabel:patch-1
Open

Use raw strings for re patterns in sensei and ansitowin32#296
millerabel wants to merge 1 commit intogregmalcolm:masterfrom
millerabel:patch-1

Conversation

@millerabel
Copy link

Issue #295 has the details. Change verified locally.

@millerabel millerabel marked this pull request as draft November 12, 2025 22:59
@millerabel millerabel marked this pull request as ready for review November 12, 2025 23:21
@millerabel millerabel marked this pull request as draft November 12, 2025 23:38
Update ansitowin32.py to fix re pattern literal string

The pattern should be a raw string, to preserve the special meaning of backslash escape sequences within the re parser and suppress the normal parsing in literal strings.
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