mirror of
https://github.com/ziishaned/learn-regex.git
synced 2025-09-26 22:00:40 -04:00
Something really need to be clarified
the `+` is tricky
This commit is contained in:
parent
250d538b3c
commit
fba7892368
@ -174,7 +174,7 @@ zero or more spaces.
|
||||
### 2.3.2 The Plus
|
||||
|
||||
The symbol `+` matches one or more repetitions of the preceding character. For example, the regular expression `c.+t` means: lowercase
|
||||
letter `c`, followed by at least one character, followed by the lowercase character `t`.
|
||||
letter `c`, followed by at least one character, followed by the lowercase character `t`. It needs to be clarified that `t` is the last `t` in the sentence.
|
||||
|
||||
<pre>
|
||||
"c.+t" => The fat <a href="#learn-regex"><strong>cat sat on the mat</strong></a>.
|
||||
|
Loading…
x
Reference in New Issue
Block a user