Skip to content

Commit 36f9c9c

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Update questionhelper.rst
2 parents 0544743 + 4449493 commit 36f9c9c

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)