Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix regex for closing syntax in string #9
Long story short of this is that occassionally the
The root of the problem was not preferring string values within quotes first before attempting to match everything within the statement. So this PR improves the regex to do just that.
Consider the following constant value in
define( 'AUTH_SALT', 'abc);123' ); // <--- a perfectly valid salt value
If you try to run