changeset 31:737a6e2717a9

Regexp fix
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 22 Jul 2015 09:34:35 +0900
parents a9f061d74153
children 280024035566
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Wed Jul 22 09:31:18 2015 +0900
+++ b/s4-funcs.sh	Wed Jul 22 09:34:35 2015 +0900
@@ -1179,7 +1179,7 @@
     echo "<h2>$tn</h2>"
     echo '<table class="b listgroup">'
     sq -header -html $db "$sql" \
-       | sed "s,\(<TR><TD>\)\([0-9]*\):\([-_A-z0-9]*\)</TD>,\1$href\2\">\3</a>,"
+       | sed "s,\(<TR><TD>\)\([0-9]*\):\([^ ]*\)</TD>,\1$href\2\">\3</a>,"
     echo '</table>'
   done
   echo '</div>'

yatex.org