tightened all the "all chars but these" patterns to also exclude line wraps. This sorts out a problem in the added test.