Fix s/[/]// handling (noted by Dumas Patrice).