Documentation
¶
Overview ¶
Package regexp provides additional regular expression functions.
It provides the following Unicode aware functions:
- regexp_like(text, pattern),
- regexp_count(text, pattern [, start]),
- regexp_instr(text, pattern [, start [, N [, endoption [, subexpr ]]]]),
- regexp_substr(text, pattern [, start [, N [, subexpr ]]]),
- regexp_replace(text, pattern, replacement [, start [, N ]]),
- and a REGEXP operator.
The implementation uses Go regexp/syntax for regular expressions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobPrefix ¶ added in v0.20.1
GlobPrefix returns a GLOB for a regular expression appropriate to take advantage of the LIKE optimization in a query such as:
SELECT column WHERE column GLOB :glob_prefix AND column REGEXP :regexp
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.