I start reading Regex, and in article i find these :
The asterisk or star tells the engine to attempt to match the preceding token zero or more times.
and
The plus tells the engine to attempt to match the preceding token once or more
i googled about meaning of above sentences, but i really can not understand what is meant by the term preceding token once or more
and preceding token zero or more times
, some one can explain these by an example? any help will be appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…