Created attachment 10583 [details] Test program to show regcomp bug With REG_ICASE, escape by \ (backslash) doesn't work well. Regexp of \x\y\z is expected to match string of xyz with REG_ICASE.
Unknown backslash escapes invoke undefined behaviour.
(In reply to Andreas Schwab from comment #1) > Unknown backslash escapes invoke undefined behaviour. Should we mark this bug as invalid then?