summary refs log tree commit diff stats
path: root/lib/impure/nre.nim
diff options
context:
space:
mode:
authorFlaviu Tamas <tamasflaviu@gmail.com>2015-05-26 20:49:49 -0400
committerFlaviu Tamas <tamasflaviu@gmail.com>2015-06-07 13:13:05 -0400
commit5118c09f4930464513c908389950b244cc2b3ff0 (patch)
treeec90720bc302c42484c90f58e433fe95fd3d213b /lib/impure/nre.nim
parent3bbbb1a6825c5bcff2d4dfc41c1cebff83751498 (diff)
downloadNim-5118c09f4930464513c908389950b244cc2b3ff0.tar.gz
Fix ambiguous character literal
Diffstat (limited to 'lib/impure/nre.nim')
-rw-r--r--lib/impure/nre.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/nre.nim b/lib/impure/nre.nim
index bfe2ad33a..6f92b0d71 100644
--- a/lib/impure/nre.nim
+++ b/lib/impure/nre.nim
@@ -534,7 +534,7 @@ iterator findIter*(str: string, pattern: Regex, start = 0, endpos = int.high): R
         break
 
       if matchesCrLf and offset < (str.len - 1) and
-         str[offset] == '\r' and str[offset + 1] == '\l':
+         str[offset] == '\r' and str[offset + 1] == '\L':
         # if PCRE treats CrLf as newline, skip both at the same time
         offset += 2
       elif unicode: