Thread
:
[Regex Search] Minimal match not possible?
View Single Post
12-23-2014, 08:28 AM
#
3
dmonasse
Member
Posts: 23
Karma: 10
Join Date: Apr 2014
Location: Paris
Device: ipad 2, Ubuntu
Look at the Python module "re" documentation at
https://docs.python.org/2/howto/regex.html#regex-howto
and you shall read:
the solution is to use the non-greedy qualifiers *?, +?, ??, or {m,n}?, which match as little text as possible.
dmonasse
View Public Profile
Find More Posts by dmonasse
Track Posts by dmonasse via RSS