[Docs] Correct examples for * and + in regexp-syntax.asciidoc (#53210)

This commit is contained in:
Adam Canady 2020-03-06 11:16:41 -05:00 committed by Christoph Büscher
parent 09a3f45880
commit a88d0c7ca3
1 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ abc? # matches 'ab' and 'abc'
Repeat the preceding character one or more times. For example:
....
ab+ # matches 'abb', 'abbb', 'abbbb', etc.
ab+ # matches 'ab', 'abb', 'abbb', etc.
....
--
@ -85,7 +85,7 @@ ab+ # matches 'abb', 'abbb', 'abbbb', etc.
Repeat the preceding character zero or more times. For example:
....
ab* # matches 'ab', 'abb', 'abbb', 'abbbb', etc.
ab* # matches 'a', 'ab', 'abb', 'abbb', etc.
....
--