croxton/Switchee — pull request #1 by Kindari (2012-01-11 23:45:06+00:00)
Title: Allow capture group substitution in case content

This adds numeric and named capture group replacement to case content
return data.

Example:
{exp:switchee variable="{segment_3}"}
{!-- detect pagination, for example --}
{case value="#^P(?P\d+)$#|''"}
We are on page #{switchee:page}
{/case}
{/exp:switchee}