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

[Python3.11] Improve the regex expression #3804

Merged
merged 2 commits into from
Aug 1, 2024
Merged

[Python3.11] Improve the regex expression #3804

merged 2 commits into from
Aug 1, 2024

Conversation

agl29
Copy link
Collaborator

@agl29 agl29 commented Jul 29, 2024

What changes were proposed in this pull request?

How was this patch tested?

  • Locally
  • CI

assert not "dontseeme" in out
assert re.sub("^ (?m)", "", """
assert "dontseeme" not in out
assert re.sub("(?m)^ ", "", """
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an official guideline doc from python.org? Please share the source.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@agl29 agl29 enabled auto-merge (squash) August 1, 2024 05:02
@agl29 agl29 merged commit 493543c into master Aug 1, 2024
4 of 5 checks passed
@agl29 agl29 deleted the improve_unittest branch August 1, 2024 05:04
agl29 added a commit that referenced this pull request Aug 1, 2024
agl29 added a commit that referenced this pull request Aug 1, 2024
agl29 added a commit that referenced this pull request Aug 21, 2024
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.

3 participants