File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -47,11 +47,13 @@ $match = $matcher->match("lorem ipsum dolor", "@string@")
4747* `` @*@ `` || `` @wildcard@ ``
4848* `` expr(expression) ``
4949
50- ### Available pattern exapanders
50+ ### Available pattern expanders
5151
5252* `` startsWith($stringBeginning, $ignoreCase = false) ``
5353* `` endsWith($stringEnding, $ignoreCase = false) ``
5454* `` contains($string, $ignoreCase = false) ``
55+ * `` isDateTime() ``
56+ * `` isEmail() ``
5557* `` notEmpty() ``
5658* `` lowerThan($boundry) ``
5759* `` greaterThan($boundry) ``
@@ -254,6 +256,7 @@ $matcher->match(
254256 {
255257 "firstName": "Norbert",
256258 "lastName": "Orzechowicz",
259+ "created": "2014-01-01",
257260 "roles":["ROLE_USER", "ROLE_DEVELOPER"]}
258261 ]
259262 }',
@@ -262,6 +265,7 @@ $matcher->match(
262265 {
263266 "firstName": @string@,
264267 "lastName": @string@,
268+ "created": "@string@.isDateTime()",
265269 "roles": @array@
266270 }
267271 ]
You can’t perform that action at this time.
0 commit comments