From b8347b97db3cc535c2873b03dee3bd824e10dbd2 Mon Sep 17 00:00:00 2001 From: "Schierbeck, Cody" Date: Fri, 15 Mar 2024 13:29:32 -0700 Subject: [PATCH] Fixed typo and rebase --- velox/docs/functions/spark/regexp.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/velox/docs/functions/spark/regexp.rst b/velox/docs/functions/spark/regexp.rst index f0ef53cbf56c..57e168fc9d74 100644 --- a/velox/docs/functions/spark/regexp.rst +++ b/velox/docs/functions/spark/regexp.rst @@ -6,9 +6,9 @@ Regular expression functions use RE2 as the regex engine. RE2 is fast, but supports only a subset of PCRE syntax and in particular does not support backtracking and associated features (e.g. back references). Java and RE2 regex output can diverage and users should be cautious that -the patterns they are using perform similarlly between RE2 and Java. +the patterns they are using perform similarly between RE2 and Java. For example, character class unions, intersections, and differences -``([a[b]], [a&&[b]], [a&&[^b]])`` are intepreted as single characters +``([a[b]], [a&&[b]], [a&&[^b]])`` are intepreted as a single character class that contain ``[, &, and ^`` rather than union, intersection, or difference of the character classes.