Name

regex() — Implement the REGEX operator

Common Usage

regex( pattern, string )

Description

The regex() function implements the matching algorithm used by the SQL expression string REGEX pattern, and is normally not called directly by user-provided SQL expressions. A default implementation of this function does not exist. To use the REGEX operator, an application defined function must be provided.

Note that the order of the parameters differs between the REGEX expression and the regex() function.

See Also

REGEXP [SQL Expr, Ap D], like(), glob(), match()

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.