aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/regexp.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2013-04-25 16:42:55 +0000
committerdrh <drh@noemail.net>2013-04-25 16:42:55 +0000
commit8416fc7fc7a590451c32a5b1f89180d065d37a00 (patch)
treefbce15c9f4fd808e848de9f32d400c5d236a77a8 /ext/misc/regexp.c
parentb7045ab2eda7ad2179d15a5d1ae9a4e807148066 (diff)
downloadsqlite-8416fc7fc7a590451c32a5b1f89180d065d37a00.tar.gz
sqlite-8416fc7fc7a590451c32a5b1f89180d065d37a00.zip
Added the transitive_closure, ieee754, and amatch extensions.
FossilOrigin-Name: 84018099c8715b982cd24ce9221f93c7379e8c08
Diffstat (limited to 'ext/misc/regexp.c')
-rw-r--r--ext/misc/regexp.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/ext/misc/regexp.c b/ext/misc/regexp.c
index cb39956da..16fa7d0b9 100644
--- a/ext/misc/regexp.c
+++ b/ext/misc/regexp.c
@@ -12,7 +12,16 @@
**
** The code in this file implements a compact but reasonably
** efficient regular-expression matcher for posix extended regular
-** expressions against UTF8 text. The following syntax is supported:
+** expressions against UTF8 text.
+**
+** This file is an SQLite extension. It registers a single function
+** named "regexp(A,B)" where A is the regular expression and B is the
+** string to be matched. By registering this function, SQLite will also
+** then implement the "B regexp A" operator. Note that with the function
+** the regular expression comes first, but with the operator it comes
+** second.
+**
+** The following regular expression syntax is supported:
**
** X* zero or more occurrences of X
** X+ one or more occurrences of X