commit 8b0711ad307544c51b2721b7de495f0ae17ca037
parent 92d9ab94096ab467981bbe5b63c7c74a1004b5d9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 26 Jan 2021 11:28:16 +0100
plumb: match manpages with case-insensitive regex
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -232,7 +232,7 @@ handle_url() {
termopen $PAGER "$f"
elif regeximatch "$t" '^gopher://'; then
termopen $prefix sacc "$t"
- elif regexmatch "$t" '[A-z]\.[0-9]$'; then
+ elif regeximatch "$t" '[A-z]\.[0-9]$'; then
if [ -z "$TERM" ]; then
detach $TERMINAL mandoc -l "$(fetch "$t")"
else