Added failing test for encoding bug / regex