s4

changeset 267:9bfa9bda1289

Add `!' to href pattern.
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 25 Jul 2016 22:37:17 +0859
parents b20366cd7a73
children 138da0f3a2e5
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Mon Jul 25 22:36:47 2016 +0859
     1.2 +++ b/s4-funcs.sh	Mon Jul 25 22:37:17 2016 +0859
     1.3 @@ -437,7 +437,7 @@
     1.4    echo  "\">`gecos $1`</a>"
     1.5  }
     1.6  hreflink() {
     1.7 -  _hrefptn="[-A-Za-z0-9,.:;/~_%#&+?=@]*"
     1.8 +  _hrefptn="[-A-Za-z0-9,.:;/~_%#&+?=@!]*"
     1.9    sed -e "s|^href=\($_hrefptn\)|<a &>\1</a>|" \
    1.10        -e "s|^iframe=\($_hrefptn\)|<iframe src=\"\1\"></iframe>|"
    1.11  }