Skip to content

Commit f0e180d

Browse files
authored
Merge pull request #87 from cyr1l0u/patch-1
Fix anchors linking, add regex tester, configuration/fields/validate.md
2 parents 576b043 + 420941b commit f0e180d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/configuration/fields/validate.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ attached to the field by specifying `warning` or `error` in the return array.
108108
|`no_special_chars`|Alpha Numeric, excluding special characters|
109109
|`not_empty`|If the value is empty|
110110
|`numeric`|Value is numeric|
111-
|`preg_replace`|Perform a replacement on the contents based on a regex pattern. See [preg_replace Example](validate.md#preg_replace-example)|
112-
|`str_replace`|Return a string after running through a `str_replace`. See [str_replace Example](validate.md#str_replace-example)|
111+
|`preg_replace`|Perform a replacement on the contents based on a regex pattern. You can test your regex patterns on a website like [phprex](https://phphub.net/regex/). See [preg_replace Example](validate.md#preg-replace-example)|
112+
|`str_replace`|Return a string after running through a `str_replace`. See [str_replace Example](validate.md#str-replace-example)|
113113
|`unique_slug`|To generate a unique slug - optional `'flush_permalinks' => true` argument can be added to force a flush permalinks on successful save|
114114
|`url`|Valid URL|
115115

0 commit comments

Comments
 (0)