Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix non-raw RegEx pattern string #14928

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

cgobat
Copy link
Contributor

@cgobat cgobat commented Mar 17, 2023

Description

This is a minor change that fixes a DeprecationWarning: invalid escape sequence '\(' by compiling the regex pattern as a raw str (i.e., preceded by an r)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Printer definition file(s)
  • Translations

How Has This Been Tested?

Extensive testing not performed—should not be necessary.

Checklist:

@github-actions github-actions bot added the PR: Community Contribution 👑 Community Contribution PR's label Mar 17, 2023
@casperlamboo casperlamboo changed the base branch from main to 5.5 October 4, 2023 11:20
@casperlamboo
Copy link
Contributor

Looks good, makes sense, thanks for the contribution!

@casperlamboo casperlamboo merged commit 4957f87 into Ultimaker:5.5 Oct 4, 2023
1 check passed
@cgobat cgobat deleted the bugfix/raw-regex-str branch October 4, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Community Contribution 👑 Community Contribution PR's
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants