FixRM #8396 change all lib use of regex to 8-bit pattern
Land #2360

All the specs pass, and it's difficult to repo many of these cases to
see if bugs are actually here, but it's a good idea to enforce binary
regexs.