Case sensitive now
This commit is contained in:
parent
75ddfc8c52
commit
0494df0227
|
@ -11,7 +11,7 @@ function addWords(wl) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function regexInput(e) {
|
function regexInput(e) {
|
||||||
let re = new RegExp(e.target.value, "ui")
|
let re = new RegExp(e.target.value, "u")
|
||||||
let matches = document.querySelector("#matches")
|
let matches = document.querySelector("#matches")
|
||||||
|
|
||||||
while (matches.firstChild) {
|
while (matches.firstChild) {
|
||||||
|
@ -42,4 +42,4 @@ function init(e) {
|
||||||
document.querySelector("#regexp").addEventListener("input", regexInput)
|
document.querySelector("#regexp").addEventListener("input", regexInput)
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener("load", init)
|
window.addEventListener("load", init)
|
||||||
|
|
Loading…
Reference in New Issue