From d5ba08af4933fdef596f5151b3e903868d352f65 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Fri, 13 Nov 2015 01:02:37 +0900 Subject: unposted: a few cosmetic format fixes in docs --- Doc/Zsh/mod_pcre.yo | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Doc/Zsh/mod_pcre.yo') diff --git a/Doc/Zsh/mod_pcre.yo b/Doc/Zsh/mod_pcre.yo index d6b4bd15d..c2817f519 100644 --- a/Doc/Zsh/mod_pcre.yo +++ b/Doc/Zsh/mod_pcre.yo @@ -54,8 +54,7 @@ used to implement the "find all non-overlapping matches" functionality. A simple example of "find all non-overlapping matches": -example( -string="The following zip codes: 78884 90210 99513" +example(string="The following zip codes: 78884 90210 99513" pcre_compile -m "\d{5}" accum=() pcre_match -b -- $string @@ -64,10 +63,7 @@ while [[ $? -eq 0 ]] do accum+=$MATCH pcre_match -b -n $b[2] -- $string done -print -l $accum - - -) +print -l $accum) ) enditem() -- cgit 1.4.1