<?php $regex = '#(?P<param>[^/]+)#'; var_dump(preg_match($regex, 'moo', $match), $match);
You have javascript disabled. You will not be able to edit any code.