summary refs log tree commit diff stats
path: root/lib/impure/re.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-08-14 01:36:02 +0200
committerAraq <rumpf_a@web.de>2018-08-14 01:36:02 +0200
commit18859cbaa1d1261d58ab6ceea2635c8dd02c2175 (patch)
tree899336888880ea004a9bb4cd0802a6509a7665d8 /lib/impure/re.nim
parent83c89197f3fda783819cd0c5de06561c3e6f3616 (diff)
downloadNim-18859cbaa1d1261d58ab6ceea2635c8dd02c2175.tar.gz
make nimweb compile again
Diffstat (limited to 'lib/impure/re.nim')
-rw-r--r--lib/impure/re.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/re.nim b/lib/impure/re.nim
index 50a5441e8..a60f70828 100644
--- a/lib/impure/re.nim
+++ b/lib/impure/re.nim
@@ -613,7 +613,7 @@ when isMainModule:
     doAssert false
 
   if "abc" =~ re"(cba)?.*":
-    doAssert matches[0] == nil
+    doAssert matches[0] == ""
   else: doAssert false
 
   if "abc" =~ re"().*":