#1335: Refine #1283 to allow extraction of multiple subpatterns in regex
validator
-------------------------+--------------------------------------------------
Reporter: david | Owner: david
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0.4
Component: validation | Version: 1.0.4RC1
Severity: normal | Keywords:
Has_patch: 0 |
-------------------------+--------------------------------------------------
#1283 made it possible to extract a subpattern from a regex validator
match and export that or overwrite the original value with it, but as
outlined [comment:ticket:1283:4 in this comment that also has examples],
it'd be desirable to be able to export several subpatterns if the
{{{export}}} parameter is an array. As a consequence, the
{{{extract}}} parameter introduced in 1.0.4RC1 will be dropped, which also
means that to overwrite the input argument with a subpattern,
{{{extract}}} must be used like in most other validators.
--
Ticket URL: <http://trac.agavi.org/ticket/1335>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets