Skip to content

Commit

Permalink
fix . in =
Browse files Browse the repository at this point in the history
  • Loading branch information
mi2ebi authored Nov 28, 2024
1 parent 4770037 commit 8486569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function search(q) {

// and regex matching
if (["=", "head", "~"].includes(op)) {
let regex = queryToRegex(normalize(orig, false), op != '~');
let regex = queryToRegex(normalize_query(orig, false), op != '~');
//console.log(regex);
if (regex.test(normalize(entry.head))) return 5;
}
Expand Down

0 comments on commit 8486569

Please sign in to comment.