Skip to content

Commit c3583a2

Browse files
author
Piotr Jura
committed
Added missing documentation for isDateTime and isEmail
1 parent 602f10a commit c3583a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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": "@[email protected]()",
265269
"roles": @array@
266270
}
267271
]

0 commit comments

Comments
 (0)