[Dancer-users] Routes with captures
sukria at sukria.net
Mon May 31 13:15:11 CEST 2010
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:
which would be equivalent to:
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.
More information about the Dancer-users