3 <constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5 xsi:schemaLocation="http://symfony.com/schema/dic/constraint-mapping http://symfony.com/schema/dic/constraint-mapping/constraint-mapping-1.0.xsd">
7 <namespace prefix="custom">Symfony\Component\Validator\Tests\Fixtures\</namespace>
9 <class name="Symfony\Component\Validator\Tests\Fixtures\Entity">
10 <property name="firstName">
11 <!-- Constraint with a Boolean -->
12 <constraint name="Regex">
13 <option name="pattern">/^1/</option>
14 <option name="match">false</option>