diff --git a/toys/grepdict/grepdict.js b/toys/grepdict/grepdict.js index 7a878e2..9280729 100644 --- a/toys/grepdict/grepdict.js +++ b/toys/grepdict/grepdict.js @@ -11,7 +11,7 @@ function addWords(wl) { } function regexInput(e) { - let re = new RegExp(e.target.value, "ui") + let re = new RegExp(e.target.value, "u") let matches = document.querySelector("#matches") while (matches.firstChild) { @@ -42,4 +42,4 @@ function init(e) { document.querySelector("#regexp").addEventListener("input", regexInput) } -window.addEventListener("load", init) \ No newline at end of file +window.addEventListener("load", init)