Fix ambiguous character literal
This commit is contained in:
parent
3bbbb1a682
commit
5118c09f49
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue