# HG changeset patch # User HIROSE Yuuji # Date 1437539191 -32400 # Node ID 894f93ef24fe9107c0b129a4f3b78f4cdc423b3d # Parent 77e2aeb2d7ad5fd02dd6abc9e2e5f2c9995541bb g flag is meaningless because regexp is anchored at the bol diff -r 77e2aeb2d7ad -r 894f93ef24fe s4-blog.sh --- a/s4-blog.sh Wed Jul 22 13:25:22 2015 +0900 +++ b/s4-blog.sh Wed Jul 22 13:26:31 2015 +0900 @@ -164,7 +164,7 @@ -e 's|,\[/a\],||' \ -e 's/,n,/
/g' -e "s|,i,|$imgs|" \ -e "s|\(\)|\1|" \ - -e "s|^href=\([-A-Za-z0-9,.:/~_%#&+?]*\)|\1|g" \ + -e "s|^href=\([-A-Za-z0-9,.:/~_%#&+?]*\)|\1|" \ -e "s|\(\)\(\),e,|\1\2$link|" select coalesce((select ",e," from article where id='$aid' and author='$user'),"")