#[
autogenerated by docgen
loc: /build/nim/src/nim/lib/js/jsre.nim(72, 3)
rdoccmd: 
]#
import std/assertions
import "/build/nim/src/nim/lib/js/jsre.nim"
{.line: ("/build/nim/src/nim/lib/js/jsre.nim", 72, 3).}:
  let jsregex: RegExp = newRegExp(r"bcd", r"i")
  assert "abcd".endsWith jsregex

