Feels like stringCI "internally lowers" the case of pattern string (ie its argument) but "does not" lower case of input before matching.
Reproduced this on ghc-7.10.1 with attoparsec-0.12.1.5 and attoparsec-0.12.1.4. Previously this worked as expected (all 4 of above examples result in Done ) with attoparsec-0.11.x (tested with attoparsec-0.11.3.4) and attoparsec-0.12.1.3. Could it be that the problem was introduced by commit dcc5e1f94063d359ce08aef785325944bd9136ed ?
Small test:
Feels like
stringCI
"internally lowers" the case of pattern string (ie its argument) but "does not" lower case of input before matching.Reproduced this on ghc-7.10.1 with attoparsec-0.12.1.5 and attoparsec-0.12.1.4. Previously this worked as expected (all 4 of above examples result in Done ) with attoparsec-0.11.x (tested with attoparsec-0.11.3.4) and attoparsec-0.12.1.3. Could it be that the problem was introduced by commit dcc5e1f94063d359ce08aef785325944bd9136ed ?