1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

* 20081: Doc/Zsh/mod_pcre.yo: document -pcre-match condition.

This commit is contained in:
Clint Adams 2004-06-20 22:47:16 +00:00
parent 773b5c95d4
commit c21172f2d0
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-06-18 Clint Adams <clint@zsh.org>
* 20081: Doc/Zsh/mod_pcre.yo: document -pcre-match condition.
2004-06-18 Oliver Kiddle <opk@zsh.org>
* 20077: Completion/Zsh/Command/_disable,

View file

@ -32,3 +32,15 @@ substrings, unless the tt(-a) option is given, in which
case it will set the array var(arr).
)
enditem()
The tt(zsh/pcre) module makes available the following test condition:
startitem()
findex(pcre-match)
item(expr tt(-pcre-match) pcre)(
Matches a string against a perl-compatible regular expression.
For example,
[[ "$text" -pcre-match ^d+$ ]] && print text variable contains only "d's".
)
enditem()