st

My build of suckless's simple terminal
Log | Files | Refs | README | LICENSE

commit de6fd85eeb544548ed5ad23a639eedd6af510036
parent e187610a230803ddca6b86fe0620cacdee177ac3
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri,  7 Aug 2020 07:20:03 -0400

Merge pull request #241 from pierg75/fix_urlhandler

Fixed a small issue with the urlhandler.
Diffstat:
Mst-urlhandler | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/st-urlhandler b/st-urlhandler @@ -1,6 +1,6 @@ #!/bin/sh -urlregex="(((http|https)://|www\\.)[a-zA-Z0-9.]*[:]?[a-zA-Z0-9./@$&%?$#=_-]*)|((magnet:\\?xt=urn:btih:)[a-zA-Z0-9]*)" +urlregex="(((http|https)://|www\\.)[a-zA-Z0-9.]*[:]?[a-zA-Z0-9./@$&%?$\#=_~-]*)|((magnet:\\?xt=urn:btih:)[a-zA-Z0-9]*)" # First remove linebreaks and mutt sidebars: urls="$(sed 's/.*│//g' | tr -d '\n' |