Closed kckennylau closed 8 years ago
uhhh, we use the python re
module for this, so I'm not sure we can do much with this. Also {2,}
does what you want.
Well, thanks for your quick reply. Maybe you could translate the regex, so that \S#
(for exmaple) becomes \S\S+
.
\S{2,}
is the same as \S\S+
.
That being said, Pyth's regexes are exactly the same as Python's, and this is not a good place for asking for advice on using Python regexes.
a*
matches 0 or more instances ofa
.a+
matches 1 or more instances ofa
.a
?