symfony/symfony — Issue #3210: route assert '\d+' should assert true for 'abc123'
Author: leeoniya
Created: 2012-01-29 08:12:48+00:00
State: open

i started playing with Silex and discovered that ```->assert('name', '\d+')``` compiles to something which seems to assert ```^\d+$``` instead. This is counter-intuitive since a ```preg_match('/\d+/','abc123')``` asserts true.