summaryrefslogtreecommitdiff
path: root/st-urlhandler
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-28 18:48:43 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-28 18:48:43 -0400
commitf2faf93fabf741730d6c4773b627837dcc81f43f (patch)
tree722852c7127a215c23a20846a2ac4c80e2759683 /st-urlhandler
parentce7ef62c112ac9aaf0362ac9dd6cb8afb993aacd (diff)
regex update
Diffstat (limited to 'st-urlhandler')
-rwxr-xr-xst-urlhandler2
1 files changed, 1 insertions, 1 deletions
diff --git a/st-urlhandler b/st-urlhandler
index 5833883..d44bb99 100755
--- 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' |