diff options
author | Flaviu Tamas <tamasflaviu@gmail.com> | 2015-05-26 20:49:49 -0400 |
---|---|---|
committer | Flaviu Tamas <tamasflaviu@gmail.com> | 2015-06-07 13:13:05 -0400 |
commit | 5118c09f4930464513c908389950b244cc2b3ff0 (patch) | |
tree | ec90720bc302c42484c90f58e433fe95fd3d213b /lib/impure/nre.nim | |
parent | 3bbbb1a6825c5bcff2d4dfc41c1cebff83751498 (diff) | |
download | Nim-5118c09f4930464513c908389950b244cc2b3ff0.tar.gz |
Fix ambiguous character literal
Diffstat (limited to 'lib/impure/nre.nim')
-rw-r--r-- | lib/impure/nre.nim | 2 |
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: |