

The regular expression must not contain null bytes.
LIKE ILIKE SQL CODE
matches the Unicode code point ¥ which is represented in UTF-8 using two bytes. Returns 0 if it does not match, or 1 if it matches. Re2 has a more limited syntax than Perl regular expressions.

match(haystack, pattern) Ĭhecks whether the string matches the regular expression pattern in re2 syntax. In all multiSearch* functions the number of needles should be less than 2 8 because of implementation specification. Returns 1, if at least one string needle i matches the string haystack and 0 otherwise.įor a case-insensitive search or/and in UTF-8 format use functions multiSearchAn圜aseInsensitive, multiSearchAnyUTF8, multiSearchAn圜aseInsensitiveUTF8. Returns the index i (starting from 1) of the leftmost found needle i in the string haystack and 0 otherwise.įor a case-insensitive search or/and in UTF-8 format use functions multiSearchFirstIndexCaseInsensitive, multiSearchFirstIndexUTF8, multiSearchFirstIndexCaseInsensitiveUTF8.

The same as position but returns the leftmost offset of the string haystack that is matched to some of the needles.įor a case-insensitive search or/and in UTF-8 format use functions multiSearchFirstPositionCaseInsensitive, multiSearchFirstPositionUTF8, multiSearchFirstPositionCaseInsensitiveUTF8.
