🚩regex flag
🚧 under construction
JS ⟩ value ⟩ object ⟩ regex ⟩ flag
/abc/igd // ignnore case, global search, generate indices
flag
description
corresponding property
when using str.matchAll(regex), the regex
must have the global (g
) flag set, or a TypeError
is thrown❗
Last updated
Was this helpful?