As it turns out, the regex example files in question were originally downloaded as part of a regex course module... and were in DOS format (something that didn't occur to me to even check). After running dos2unix on them, the end-of-line anchor was recognized
as expected.
This bug report can be closed.
Erich W. Wolz (wolz @ us.ibm.com), Senior IT Specialist
IBM Consulting - US Federal
12301 Kurland Dr., Houston, TX 77034-4812
Phone: 713-797-4645