#[
autogenerated by docgen
loc: /build/nim/src/nim/lib/js/jsre.nim(56, 3)
rdoccmd: 
]#
import std/assertions
import "/build/nim/src/nim/lib/js/jsre.nim"
{.line: ("/build/nim/src/nim/lib/js/jsre.nim", 56, 3).}:
  let jsregex: RegExp = newRegExp(r"bc$", r"i")
  assert jsregex in r"abc"
  assert jsregex notin r"abcd"
  assert "xabc".contains jsregex

