summary refs log tree commit diff stats
path: root/src/nre.nim
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-01-10 19:12:21 -0500
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-01-10 19:12:21 -0500
commitccf57714417146d0701bee70c5dbb696782f070c (patch)
treef028142566310ab4e292479ddfc1940aa152c81f /src/nre.nim
parent0f4b142c757f7d46071d0cbff959d5c1002d0c05 (diff)
downloadNim-ccf57714417146d0701bee70c5dbb696782f070c.tar.gz
Allow `u` for unicode matching
Diffstat (limited to 'src/nre.nim')
-rw-r--r--src/nre.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nre.nim b/src/nre.nim
index 64ed8c75d..044d25d4e 100644
--- a/src/nre.nim
+++ b/src/nre.nim
@@ -155,6 +155,7 @@ let Options: Table[string, int] = {
   "O" : pcre.NO_AUTO_POSSESS,
   "s" : pcre.DOTALL,
   "U" : pcre.UNGREEDY,
+  "u" : pcre.UTF8,
   "W" : pcre.UCP,
   "X" : pcre.EXTRA,
   "x" : pcre.EXTENDED,