Fixed the `matches` operator code example
authorBrandon Kelly <brandon@pixelandtonic.com>
Mon, 28 Jul 2014 18:33:46 +0000 (11:33 -0700)
committerBrandon Kelly <brandon@pixelandtonic.com>
Mon, 28 Jul 2014 18:37:46 +0000 (11:37 -0700)
commit33dcbc8c764af967e8745baaf3098f95abf501bc
tree4aaf0c548df551600c2bf227288b7d915c315f43
parent7d1577ff3c563aff7c447302d57756fd40fc675b
Fixed the `matches` operator code example

It wasn't working because the backslashes themselves needed to be escaped by additional backslashes. Also switched to using forwardslashes for the regex delimiters rather than curly brackets.
doc/templates.rst