We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PatternTemplate.pattern()
That way, we could build regular expressions with in-pattern flags.
Pattern::template("return @();")->pattern('strlen', 'i');
That would match
return strlen(); return strLen(); return STRLEN();
but not
RETURN strlen();
because return is being matched by the case-sensitive pattern.
return
The text was updated successfully, but these errors were encountered:
It should probably only add them if they differ, and it should ignore order.
Sorry, something went wrong.
Pattern::exact()
/n
No branches or pull requests
That way, we could build regular expressions with in-pattern flags.
That would match
but not
because
return
is being matched by the case-sensitive pattern.The text was updated successfully, but these errors were encountered: