Skip to content

Commit b7ab324

Browse files
committed
mv string validator Match to Regex
1 parent aa5fcd5 commit b7ab324

4 files changed

Lines changed: 17 additions & 20 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ The rule `voidable` can be used for any fields that can be missing.
17251725
- `ipv6` - must be valid IPv6 address
17261726
- `json` - must be a valid JSON
17271727
- `length` - length must be number of characters `[length => x]`
1728-
- `match` - value must be a regular expression match `[match => x]`
1728+
- `regex` - value must be a regular expression match `[regex => x]`
17291729
- `max` - length must be a maximum number of characters `[max => x]`
17301730
- `min` - length must be a minimum number of characters `[min => x]`
17311731
- `notAllowed` - value must be allowed `[notAllowed => [...]]`

composer.lock

Lines changed: 14 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
* @author Shay Anderson
1919
*/
20-
class Match extends \Lark\Validator\Rule
20+
class Regex extends \Lark\Validator\Rule
2121
{
2222
/**
2323
* Message

src/Lark/release.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
* @link <https://github.com/shayanderson/lark-framework>
88
*/
99

10-
const LARK_RELEASE = '0.26.0';
10+
const LARK_RELEASE = '0.27.0';

0 commit comments

Comments
 (0)