31 May
2010
31 May
'10
11:15 a.m.
Hi, Just a global remark about that: r('') is *not* similar to qr// : It's pseudo-regexps, not real ones: all slashes are automatically escaped so you can write: r('/stuff/(.*+)) which would be equivalent to: qr/\/stuff\/(.*+)/ This is very convinient when writing path patterns. this being said, I can clearly see why you want support for real Perl regular expression in Dancer patterns, and I see no reason why we should not let the user use them. So I would vote for applying your patch, but without replacing r('') which has a good reason to live, I think. -- Alexis Sukrieh