s4
changeset 266:b20366cd7a73
Add `@' to href pattern.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 25 Jul 2016 22:36:47 +0859 |
parents | 5323bf64f05c |
children | 9bfa9bda1289 |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Fri Jul 22 22:36:48 2016 +0859 1.2 +++ b/s4-funcs.sh Mon Jul 25 22:36:47 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 }