s4

diff s4-funcs.sh @ 466:929a925f10d8

Group name used at the following query should be quoted.
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 22 Aug 2017 08:51:06 +0859
parents 9724472a3cd2
children c00857f0e9d2
line diff
     1.1 --- a/s4-funcs.sh	Mon Aug 14 09:39:48 2017 +0859
     1.2 +++ b/s4-funcs.sh	Tue Aug 22 08:51:06 2017 +0859
     1.3 @@ -466,7 +466,8 @@
     1.4    #   {{{URL}}	}	- <iframe src="URL"></iframe>
     1.5    #   {{{URL|height}}	- <iframe src="URL" height="height"></iframe>
     1.6    _hrefptn="[-A-Za-z0-9,.:;/~_%#&+?=@!]*"
     1.7 -  sed -e "s|\[\[\($_hrefptn\)\|\([^]]*\)\]\]|<a href=\"\1\">\2</a>|g" \
     1.8 +  sed -e "s|\[\[\#\([0-9][0-9]*\)\]\]|<a href=\"?aid\1\">#\1</a>|g" \
     1.9 +      -e "s|\[\[\($_hrefptn\)\|\([^]]*\)\]\]|<a href=\"\1\">\2</a>|g" \
    1.10        -e "s|\[\[\($_hrefptn\)\]\]|<a href=\"\1\">\1</a>|" \
    1.11        -e "s|{{{\($_hrefptn\)\|\(.*\)}}}|<iframe src=\"\1\" height=\"\2\"></iframe>|g" \
    1.12        -e "s|{{{\($_hrefptn\)}}}|<iframe src=\"\1\"></iframe>|g" \