Skip to content

refactor: non-alphanumeric regex in rule 013 #179

Open
medubelko wants to merge 2 commits intocanonical:mainfrom
medubelko:docpr-2135-refactor-regex
Open

refactor: non-alphanumeric regex in rule 013 #179
medubelko wants to merge 2 commits intocanonical:mainfrom
medubelko:docpr-2135-refactor-regex

Conversation

@medubelko
Copy link
Contributor

  • Place the hyphen at the start, so it doesn't form a character range.
  • Don't use literal token where unneeded.

Resolves #73.

- Place the hyphen at the start, so it doesn't form a character range.
- Don't use literal token where unneeded.
@medubelko medubelko requested a review from SecondSkoll March 3, 2026 01:55
@medubelko medubelko force-pushed the docpr-2135-refactor-regex branch from 46570f6 to 78671dd Compare March 3, 2026 02:50
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.

Rule #13 - Optimisation of RegEx

1 participant