[development] Announce Coder 6.x
Steven Wittens
steven at acko.net
Fri Apr 20 23:11:54 UTC 2007
> One question however, I'm not sure that you script works on cases with
> functions as arguments. When I tried to borrow the regex, it
> didn't work in
> the matching phase. I didn't run any tests, but the regex was off
> when I
> used it in coder. Does your script properly ignore?
>
> return l(format_date($query->created, 'custom', 'F, Y'),
> "$arg/$query->name");
The regexp doesn't care about the contents of arguments, it only
cares about balanced parentheses.
I did run into weird problems where the regexp would fail to match if
I processed an entire module at once. I had to split it up at known
non-match points for it to pick up everything. Everything pointed to
a bug in PCRE with recursive regular expressions.
Steven Wittens
More information about the development
mailing list