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

Clean up regex flags #735

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Clean up regex flags #735

merged 1 commit into from
Jul 15, 2024

Conversation

apasel422
Copy link
Contributor

  • MULTILINE is irrelevant unless ^ is used to match line starts
  • IGNORECASE is irrelevant when case-agnostic character classes are already being used (e.g. \w or \p{Letter}) or when only punctuation/spaces are being matched
  • DOTALL is irrelevant unless . is used to match all characters

- MULTILINE is irrelevant unless ^ is used to match line starts
- IGNORECASE is irrelevant when case-agnostic character classes are
  already being used (e.g. \w or \p{Letter}) or when only
  punctuation/spaces are being matched
- DOTALL is irrelevant unless . is used to match all characters
@apasel422 apasel422 marked this pull request as ready for review July 15, 2024 15:57
@acabal acabal merged commit 846e8d4 into standardebooks:master Jul 15, 2024
1 check passed
@acabal
Copy link
Member

acabal commented Jul 15, 2024

Thanks!

@apasel422 apasel422 deleted the regex-flags branch July 15, 2024 16:21
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.

2 participants