Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
12
tests/tregex.nim
Executable file
12
tests/tregex.nim
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
# Test the new regular expression module
|
||||
# which is based on the PCRE library
|
||||
|
||||
import
|
||||
regexprs, io
|
||||
|
||||
if "Username" =~ "[A-Za-z]+":
|
||||
echo("Yes!")
|
||||
else:
|
||||
echo("Bug!")
|
||||
|
||||
#OUT Yes!
|
||||
Loading…
Add table
Add a link
Reference in a new issue