Fix ambiguous character literal

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

View file

@ -534,7 +534,7 @@ iterator findIter*(str: string, pattern: Regex, start = 0, endpos = int.high): R
break break
if matchesCrLf and offset < (str.len - 1) and 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 # if PCRE treats CrLf as newline, skip both at the same time
offset += 2 offset += 2
elif unicode: elif unicode: