X-Git-Url: http://www.git.stargrave.org/?p=torn.git;a=blobdiff_plain;f=torn.zsh;fp=torn.zsh;h=511d544960a1159cb94c5f51c46976f1c481aee9;hp=3ea8becb14093734fe7b36466a376654b519ac6b;hb=076741bc2aa25d5966b2741013c88360af3afc53;hpb=1f81cbd89921a131ad9d6f56ef8948eff4d9cf4e diff --git a/torn.zsh b/torn.zsh index 3ea8bec..511d544 100755 --- a/torn.zsh +++ b/torn.zsh @@ -48,7 +48,7 @@ tornt() { tornm() { local n=$1 n=${n:gs/ /_} - n=${n:gs/_-_/-} + n=${n//_[–-]_/-} n=${n:gs/,_/,} n=${n//[\[\]]/} n=${n:gs/_(/(}