Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

nicolas-grekas
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Follow up of #15826. May be superseded by an other PR from @stof, still submitting for history at least.

@@ -61,7 +61,7 @@ class Regex implements ValueInterface
*/
public static function create($expr)
{
if (preg_match('/^(.{3,}?)([imsxuADU]*)$/', $expr, $m)) {
if (preg_match('/^(.{2,}?)([imsxuADU]*)$/', $expr, $m)) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Empty regexps (//) are valid

@fabpot
Copy link
Member

fabpot commented Oct 1, 2015

What do we do with this PR?

@fabpot
Copy link
Member

fabpot commented Oct 6, 2015

Closing as this PR uses the Regex class that does not exist anymore. @stof if you have a better idea, feel free to open a PR :)

@fabpot fabpot closed this Oct 6, 2015
@nicolas-grekas nicolas-grekas deleted the finder-merge-rx branch October 10, 2015 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants