We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd0d044 + 36f9c9c commit 574c453Copy full SHA for 574c453
components/console/helpers/questionhelper.rst
@@ -401,7 +401,7 @@ invalid answer and will only be able to proceed if their input is valid.
401
402
$question = new Question('Please enter the name of the bundle', 'AcmeDemoBundle');
403
$validation = Validation::createCallable(new Regex([
404
- 'pattern' => '/^[a-zA-Z]+Bundle$',
+ 'pattern' => '/^[a-zA-Z]+Bundle$/',
405
'message' => 'The name of the bundle should be suffixed with \'Bundle\'',
406
]));
407
$question->setValidator($validation);
0 commit comments