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

[Routing] simplified regex with named variables #3884

Merged
merged 1 commit into from Apr 11, 2012

Conversation

Tobion
Copy link
Member

@Tobion Tobion commented Apr 11, 2012

Test pass: yes
BC break: no

Since PHP 5.2.2 subpatterns in regex can be simplified from ?P<name> to ?<name> (see http://www.php.net/manual/en/regexp.reference.subpatterns.php).
This enhances readability.

fabpot added a commit that referenced this pull request Apr 11, 2012
Commits
-------

f666836 [Routing] simplified regex with named variables

Discussion
----------

[Routing] simplified regex with named variables

Test pass: yes
BC break: no

Since PHP 5.2.2 subpatterns in regex can be simplified from `?P<name>` to `?<name>` (see http://www.php.net/manual/en/regexp.reference.subpatterns.php).
This enhances readability.
@fabpot fabpot merged commit f666836 into symfony:master Apr 11, 2012
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.

None yet

2 participants