Fix ambiguous character literal

This commit is contained in:
Flaviu Tamas
2015-05-26 20:49:49 -04:00
parent 3bbbb1a682
commit 5118c09f49

View File

@@ -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: