Interactive Tool
JavaScript Preview
Regex Pattern Preview
Preview patterns against sample queries and URLs. This uses JavaScript RegExp, not RE2; passing here does not certify Search Console compatibility. Confirm the final pattern in GSC. Matching defaults to case-insensitive; a leading (?-i) enables case-sensitive matching.
GSC Syntax
Potential RE2 Incompatibility: This pattern uses lookarounds (
?=, ?!) or backreferences (\1), which RE2 does not support. This lightweight check is advisory and is not a complete RE2 parser.
Evaluation Results
RE2 Engine Constraints in Google Search Console
Google Search Console’s performance filtering runs on Google’s open-source RE2 engine. RE2 enforces linear execution time to protect service availability.
Allowed RE2 Syntax:
- Case-insensitive flag:
(?i) - Alternation:
cat|dog - Word boundaries:
\b - Quantifiers:
+,*,?,{2,4}
Forbidden / Unsupported in RE2:
- Positive lookahead:
(?=...) - Negative lookahead:
(?!...) - Lookbehind assertions:
(?<=...) - Backreferences:
\1,\2
Related Patterns
See the regex cookbook, filter lesson, and official RE2 syntax reference. Preview limits are local usability safeguards, not Google quotas.