Skip to content

Commit 574c453

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: Update questionhelper.rst
2 parents cd0d044 + 36f9c9c commit 574c453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/helpers/questionhelper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ invalid answer and will only be able to proceed if their input is valid.
401401

402402
$question = new Question('Please enter the name of the bundle', 'AcmeDemoBundle');
403403
$validation = Validation::createCallable(new Regex([
404-
'pattern' => '/^[a-zA-Z]+Bundle$',
404+
'pattern' => '/^[a-zA-Z]+Bundle$/',
405405
'message' => 'The name of the bundle should be suffixed with \'Bundle\'',
406406
]));
407407
$question->setValidator($validation);

0 commit comments

Comments
 (0)