Closed
Description
Symfony version(s) affected
6.49 and others
Description
Follow up of #57497 and #57612 and #57616
Behavior os snake()
still contains a BC break.
I did not check whether this was introduced by the original change or one of the fixes.
For years the string123-customer,with/special#name
was converted to 123-customer_with_special_name
.
Now it returns 123-customer,with/special#name
.
Many characters are not converted as before/expected.
How to reproduce
{{ '123-customer,with/special#name'|u.snake }}
shows 123-customer,with/special#name
instead of the expected 123-customer_with_special_name
Possible Solution
Revert previous "fixes"?
Additional Context
No response