Top "Re2" questions

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

Split string and get last element

Let's say I have a column which has values like: foo/bar chunky/bacon/flavor /baz/quz/qux/bax I.…

regex google-sheets split google-sheets-formula re2
Multiple regex matches in Google Sheets formula

I'm trying to get the list of all digits preceding a hyphen in a given string (let's say in cell …

regex google-sheets re2
Using positive-lookahead (?=regex) with re2

Since I'm a bit new with re2, I'm trying to figure out how to use positive-lookahead (?=regex) like JS, C++ …

regex go re2
How can I normalize / asciify Unicode characters in Google Sheets?

I'm trying to write a formula for Google Sheets which will convert Unicode characters with diacritics to their plain ASCII …

regex unicode google-sheets formulas re2
RegEx to match 2 or more digits in a string

Suppose I have strings like: ABC-L-W7P-1423 ABC-L-W7E-87 CH-L-W7-756 I need to grab the number at the end. …

regex google-sheets google-spreadsheet-api re2
Negate match in RE2 syntax?

How can I write a regex in RE2 for "match strings not starting with 4 or 5"? In PCRE I'd use ^(?!4) but …

regex re2
Regex newline and whitespace in golang

I was trying to match the below string with a regex and get some values out of it. /system1/sensor37 …

regex go re2
Regex for partial path

I have paths like these (single lines): / /abc /def/ /ghi/jkl /mno/pqr/ /stu/vwx/yz /abc/def/ghi/jkl …

java regex parsing re2 sumologic
pip install re2 gives an error

I'm trying to download re2 by the command pip install re2 and it gives me this: Collecting re2 Using cached …

python c++ pip re2