summary refs log tree commit diff stats
path: root/lib/impure
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-04-29 07:59:03 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-04-29 07:59:03 +0200
commit22670aad84b41641e23ea5dabc03829015275e00 (patch)
tree16f2852af9a2306bfb947d1f5f35482fd158f015 /lib/impure
parent9e6656d562e8008aec73fc6bc6ee05bfa36bab46 (diff)
downloadNim-22670aad84b41641e23ea5dabc03829015275e00.tar.gz
make nre compile again
Diffstat (limited to 'lib/impure')
-rw-r--r--lib/impure/nre.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/impure/nre.nim b/lib/impure/nre.nim
index 582f5ab3b..6058128dd 100644
--- a/lib/impure/nre.nim
+++ b/lib/impure/nre.nim
@@ -10,7 +10,7 @@
 from pcre import nil
 import nre.private.util
 import tables
-from strutils import toLower, `%`
+from strutils import `%`
 from math import ceil
 import options
 from unicode import runeLenAt
@@ -326,15 +326,15 @@ proc `$`*(pattern: RegexMatch): string =
 
 proc `==`*(a, b: Regex): bool =
   if not a.isNil and not b.isNil:
-    return a.pattern   == b.pattern and
-           a.pcreObj   == b.pcreObj and
+    return a.pattern == b.pattern and
+           a.pcreObj == b.pcreObj and
            a.pcreExtra == b.pcreExtra
   else:
     return system.`==`(a, b)
 
 proc `==`*(a, b: RegexMatch): bool =
   return a.pattern == b.pattern and
-         a.str     == b.str
+         a.str == b.str
 # }}}
 
 # Creation & Destruction {{{