forked from ComplianceAsCode/content
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By any reason the regex in this rule was unnecessarily super overcomplicated. It was updated from: '\s*=\s*("(?:\\"|\\\\|[^"\\\n])*"\B|[^"](?:(?:\\,|\\"|\\ |\\\\|[^", \\\n])*)\b)' to: '\s*=\s*(?:"?([^",\s]+)"?)' with the same effect and very likely better performance.
- Loading branch information
1 parent
d036f34
commit 1c28e47
Showing
1 changed file
with
12 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters