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: simplify regex expressions in tasks/common #142899

Merged
merged 1 commit into from Feb 14, 2022
Merged

fix: simplify regex expressions in tasks/common #142899

merged 1 commit into from Feb 14, 2022

Conversation

aminya
Copy link
Contributor

@aminya aminya commented Feb 12, 2022

This simplifies the regexp expressions in tasks/common:

  • [^\s] is just \S.
  • There is no need to escape <
  • There is no need to escape /

Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@alexr00 alexr00 merged commit c0ec382 into microsoft:main Feb 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants