Skip to content

Commit 3138734

Browse files
author
ulmeyda
committed
Fix regex matching
Since quoting the regex turns it into a literal match.
1 parent 4c56f00 commit 3138734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buku_run

100755100644
+2-2
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ editMenu () {
159159
main
160160
elif [[ $editmenu == "tags: NOTAG" ]]; then
161161
addTags --update
162-
elif [[ $editmenu =~ "tags:*" ]]; then
162+
elif [[ $editmenu =~ tags:* ]]; then
163163
tags="${tags}" editTags
164-
elif [[ $editmenu =~ "url:*" ]]; then
164+
elif [[ $editmenu =~ url:* ]]; then
165165
editBookmark
166166
fi
167167
fi

0 commit comments

Comments
 (0)