Learn Before
Concept

Greedy/ non-greedy matching

Greedy matching: In the greedy mode (by default), regular expressions always match the largest string they can. Non-greedy matching: The operator +? is a Kleene plus that matches as little text as possible.

0

1

Updated 2021-09-12

Tags

Regular Expression

Data Science