Skip to content

Commit 5bae1e1

Browse files
wouterjdaFish
authored and
daFish
committed
Fixed code highlighting
1 parent 727744c commit 5bae1e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/Regex.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ characters at the beginning of your string:
3232
Acme\BlogBundle\Entity\Author:
3333
properties:
3434
description:
35-
- Regex: "/^\w+/"
35+
- Regex: '/^\w+/'
3636
3737
.. code-block:: php-annotations
3838
@@ -98,7 +98,7 @@ message:
9898
properties:
9999
firstName:
100100
- Regex:
101-
pattern: "/\d/"
101+
pattern: '/\d/'
102102
match: false
103103
message: Your name cannot contain a number
104104

0 commit comments

Comments
 (0)