diff options
author | Araq <rumpf_a@web.de> | 2018-08-14 01:36:02 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2018-08-14 01:36:02 +0200 |
commit | 18859cbaa1d1261d58ab6ceea2635c8dd02c2175 (patch) | |
tree | 899336888880ea004a9bb4cd0802a6509a7665d8 /lib/impure/re.nim | |
parent | 83c89197f3fda783819cd0c5de06561c3e6f3616 (diff) | |
download | Nim-18859cbaa1d1261d58ab6ceea2635c8dd02c2175.tar.gz |
make nimweb compile again
Diffstat (limited to 'lib/impure/re.nim')
-rw-r--r-- | lib/impure/re.nim | 2 |
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"().*": |