Case sensitive now

This commit is contained in:
Neale Pickett 2019-10-26 14:55:21 -06:00
parent 75ddfc8c52
commit 0494df0227
1 changed files with 2 additions and 2 deletions

View File

@ -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)
window.addEventListener("load", init)