Questions tagged [re2]

RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.

RE2 provides pattern matching, extraction, replacement and other string processing operations using Google's RE2 (C++) regular-expression library.

RE2 differs slightly from PCRE. For example, regular expressions are case-sensitive by default.

Webmasters will commonly use RE2 when using Google services such as Google Analytics, Google Search Console, and Google Data Studio. It is also the regex engine used by the Go Programming Language.


Syntax

Source Repository

1 questions
3
votes
1 answer

Regex to match a specific page path in Google Analytics based on what it starts with and what it ends with

I need to come up with a regular expression that matches all page paths that: starts with /google+redesign/ AND ends with /quickview. What would a correct regex combination look like?
mr.analytic
  • 31
  • 1
  • 4