regex literal bug