Bug #6529

Fully support regular expressions for method names in pointcut expressions

Added by Robert Lemke almost 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Assignee:
Category:
AOP
Start date:
2010-02-20
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

Description

Currently only a limited set of regular expressions can be used in a pointcut expression, for example:

   method(MyClassName->.*Action())

However, parentheses are not supported yet, but they would be quite useful for defining policy resources:

   method(MyClassName->(new|edit|create|delete|update)Action())

Associated revisions

Revision 0a079ffa (diff)
Added by Robert Lemke almost 10 years ago

[+Bugfix] FLOW3 (AOP): Parentheses are now correctly parsed in the regular expression defining a method name in a pointcut expression. Resolves #6529

History

#1 Updated by Robert Lemke almost 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3832.

Also available in: Atom PDF