fix bug introduced in the QueryParam validation of regexp's in https://github.com/FriendsOfSymfony/FOSRestBundle/pull/700