Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Match expander #61

Merged
merged 1 commit into from
Jan 19, 2016
Merged

Add Match expander #61

merged 1 commit into from
Jan 19, 2016

Conversation

blazarecki
Copy link

The Match expander allow to use regex.

@@ -57,6 +57,7 @@ $match = $matcher->match("lorem ipsum dolor", "@string@")
* ``greaterThan($boundry)``
* ``inArray($value)``
* ``oneOf(...$expanders)`` - example usage ``"@[email protected](contains('foo'), contains('bar'), contains('baz'))"``
* ``match($regex)`` - example usage ``"@[email protected]('/^lorem.+/')"``
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about that name, maybe matchRegex ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's done. That ok for you ? Anything else ?

The Match expander allow to use regex
norberttech pushed a commit that referenced this pull request Jan 19, 2016
@norberttech norberttech merged commit ae724fd into coduo:master Jan 19, 2016
@norberttech
Copy link
Member

@blazarecki awesome, thanks! 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants