diff options
author | Clint Adams <clint@users.sourceforge.net> | 2004-03-16 15:14:30 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2004-03-16 15:14:30 +0000 |
commit | befd90b84787b2508ee32549f7a38859d0056b55 (patch) | |
tree | f8dfcd86944cea0a9e8028a94622f85f658ac7ff /Doc/Zsh | |
parent | 8860363e5c989b0026e482a2cd9d04d4492816af (diff) | |
download | zsh-befd90b84787b2508ee32549f7a38859d0056b55.tar.gz zsh-befd90b84787b2508ee32549f7a38859d0056b55.tar.xz zsh-befd90b84787b2508ee32549f7a38859d0056b55.zip |
* 19631: Doc/Zsh/mod_pcre.yo, Src/Modules/pcre.c: avoid segfault
when pcre_study is called before pcre_compile; documentation on pcre_compile options.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/mod_pcre.yo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_pcre.yo b/Doc/Zsh/mod_pcre.yo index 8eadee38b..1d3d18954 100644 --- a/Doc/Zsh/mod_pcre.yo +++ b/Doc/Zsh/mod_pcre.yo @@ -8,6 +8,13 @@ startitem() findex(pcre_compile) item(tt(pcre_compile) [ tt(-aimx) ] var(PCRE))( Compiles a perl-compatible regular expression. + +Option tt(-a) will force the pattern to be anchored. +Option tt(-i) will compile a case-insensitive pattern. +Option tt(-m) will compile a multi-line pattern; that is, +tt(^) and tt($) will match newlines within the pattern. +Option tt(-x) will compile an extended pattern, wherein +whitespace and tt(#) comments are ignored. ) findex(pcre_study) item(tt(pcre_study))( |