From bff61cf9e1b2fd17eb971c1e5253f4d84eaedd3a Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 2 Jul 2001 19:39:34 +0000 Subject: 15211: zsh/pcre module --- Doc/Zsh/mod_pcre.yo | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Doc/Zsh/mod_pcre.yo (limited to 'Doc') 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() -- cgit 1.4.1