summary refs log tree commit diff stats
path: root/tests/tregex.nim
blob: aa32ca847be1524e1580a7db417bdbcecad41d40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Test the new regular expression module
# which is based on the PCRE library

import
  regexprs

if "Username".match("[A-Za-z]+"):
  echo("Yes!")
else:
  echo("Bug!")

#OUT Yes!