summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-07-02 19:39:34 +0000
committerClint Adams <clint@users.sourceforge.net>2001-07-02 19:39:34 +0000
commitbff61cf9e1b2fd17eb971c1e5253f4d84eaedd3a (patch)
treef4b8e78b61816b2487da262a6631c62358888f7f /Doc
parent0f960cc8cac71ff4fdc88a45603b105e469b6079 (diff)
downloadzsh-bff61cf9e1b2fd17eb971c1e5253f4d84eaedd3a.tar.gz
zsh-bff61cf9e1b2fd17eb971c1e5253f4d84eaedd3a.tar.xz
zsh-bff61cf9e1b2fd17eb971c1e5253f4d84eaedd3a.zip
15211: zsh/pcre module
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/mod_pcre.yo22
1 files changed, 22 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_pcre.yo b/Doc/Zsh/mod_pcre.yo
new file mode 100644
index 000000000..76cf5dec6
--- /dev/null
+++ b/Doc/Zsh/mod_pcre.yo
@@ -0,0 +1,22 @@
+COMMENT(!MOD!zsh/pcre
+Interface to the PCRE library.
+!MOD!)
+cindex(regular expressions, perl-compatible)
+The tt(zsh/pcre) module makes some commands available as builtins:
+
+startitem()
+findex(pcre_compile)
+item(tt(pcre_compile) [ tt(-aimx) ] var(PCRE))(
+Compiles a perl-compatible regular expression.
+)
+findex(pcre_study)
+item(tt(pcre_study))(
+Studies the previously-compiled PCRE which may result in faster
+matching.
+)
+findex(pcre_match)
+item(tt(pcre_match) var(string))(
+Returns successfully if tt(string) matches the previously-compiled
+PCRE.
+)
+enditem()