Skip to content

Commit d81aa36

Browse files
committed
Changed normal link to special :phpfunction: link
1 parent 95f7d90 commit d81aa36

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

reference/constraints/Regex.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pattern
9595

9696
This required option is the regular expression pattern that the input will
9797
be matched against. By default, this validator will fail if the input string
98-
does *not* match this regular expression (via the `preg_match`_ PHP function).
98+
does *not* match this regular expression (via the :phpfunction:`preg_match` PHP function).
9999
However, if `match`_ is set to false, then validation will fail if the input
100100
string *does* match this pattern.
101101

@@ -114,6 +114,4 @@ message
114114

115115
**type**: ``string`` **default**: ``This value is not valid``
116116

117-
This is the message that will be shown if this validator fails.
118-
119-
.. _`preg_match`: http://php.net/manual/en/function.preg-match.php
117+
This is the message that will be shown if this validator fails.

0 commit comments

Comments
 (0)