Deploy to GitHub pages
This commit is contained in:
commit
2ef2c469d1
850 changed files with 332608 additions and 0 deletions
12
nimcache/runnableExamples/jsre_examples_1.nim
Normal file
12
nimcache/runnableExamples/jsre_examples_1.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#[
|
||||
autogenerated by docgen
|
||||
loc: /home/runner/work/Nim/Nim/lib/js/jsre.nim(56, 3)
|
||||
rdoccmd:
|
||||
]#
|
||||
import "/home/runner/work/Nim/Nim/lib/js/jsre.nim"
|
||||
{.line: ("/home/runner/work/Nim/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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue