8000 Fixed code highlighting · symfony/symfony-docs@f4b5dc6 · GitHub
[go: up one dir, main page]

Skip to content

Commit f4b5dc6

Browse files
committed
Fixed code highlighting
1 parent 7cbad6d commit f4b5dc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/constraints/Regex.rst

Lines changed: 2 additions & 2 deletions
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)
0