about summary refs log tree commit diff
path: root/Doc/Zsh/mod_pcre.yo
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2015-11-13 01:02:37 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2015-11-13 01:03:38 +0900
commitd5ba08af4933fdef596f5151b3e903868d352f65 (patch)
tree179e5748b8ccb7b5475ea1036f264c203240110f /Doc/Zsh/mod_pcre.yo
parentff85c8b1c99bd655a64564fc8beba3167d229c23 (diff)
downloadzsh-d5ba08af4933fdef596f5151b3e903868d352f65.tar.gz
zsh-d5ba08af4933fdef596f5151b3e903868d352f65.tar.xz
zsh-d5ba08af4933fdef596f5151b3e903868d352f65.zip
unposted: a few cosmetic format fixes in docs
Diffstat (limited to 'Doc/Zsh/mod_pcre.yo')
-rw-r--r--Doc/Zsh/mod_pcre.yo8
1 files changed, 2 insertions, 6 deletions
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()