Hi people:

Yesterday i add regular expression to display_urls and put some example that
DOESN'T work. For example:
#/user/(list|configure)#

The reason is simple. In display_urls aiki uses '|' as separator so, you
can't use it in a regular expression.
Aiki divides  this example in:
#/user/(list
configure)#


The problem is corrected: now aiki use a preg_split when a posible regular
expression is detected. The '|' must be escaped.
Example:
#user/(list\|configure)#i

Roger.


PD: the bizarre and ugly token of aiki, for example (#(, or ((1)), or the
more elegant (sql( and )sql) are longer, but robust, because it is less
probable than a person use it(1). In new the markup, if we think in with
short characters, we must consider escaped characters.


(1) Yes, i said less probable, not impossible.
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to