add compatibility with validator in symfony 2.5 to regex postal code validator