Migration from 3.0 to 3.1 failed due wrong regex