Skip to content

Commit 0356005

Browse files
dandanioziishaned
authored andcommitted
The [a-z]* does not match *The*, just *he* (ziishaned#8)
1 parent e663c9f commit 0356005

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ of preceding lowercase character `a`. But if it appears after a character set or
139139
character set. For example the regular expression `[a-z]*` means: any number of lowercase letters in a row.
140140

141141
<pre>
142-
"[a-z]*" => <a href="#learn-regex"><strong>The</strong></a> <a href="#learn-regex"><strong>car</strong></a> <a href="#learn-regex"><strong>parked</strong></a> <a href="#learn-regex"><strong>in</strong></a> <a href="#learn-regex"><strong>the</strong></a> <a href="#learn-regex"><strong>garage</strong></a> #21.
142+
"[a-z]*" => T<a href="#learn-regex"><strong>he</strong></a> <a href="#learn-regex"><strong>car</strong></a> <a href="#learn-regex"><strong>parked</strong></a> <a href="#learn-regex"><strong>in</strong></a> <a href="#learn-regex"><strong>the</strong></a> <a href="#learn-regex"><strong>garage</strong></a> #21.
143143
</pre>
144144

145145
The `*` symbol can be used with the meta character `.` to match any string of characters `.*`. The `*` symbol can be used with the

0 commit comments

Comments
 (0)