Mercurial > hgrepos > hgweb.cgi > 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 wrap: on
line diff
--- a/s4-funcs.sh Mon Jul 25 22:36:47 2016 +0859 +++ b/s4-funcs.sh Mon Jul 25 22:37:17 2016 +0859 @@ -437,7 +437,7 @@ echo "\">`gecos $1`</a>" } hreflink() { - _hrefptn="[-A-Za-z0-9,.:;/~_%#&+?=@]*" + _hrefptn="[-A-Za-z0-9,.:;/~_%#&+?=@!]*" sed -e "s|^href=\($_hrefptn\)|<a &>\1</a>|" \ -e "s|^iframe=\($_hrefptn\)|<iframe src=\"\1\"></iframe>|" }