Python Forum
trying to recall a regex for re.split()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
trying to recall a regex for re.split()
#24
Skaperen Wrote:it says at right side "giving back as needed". what does it mean by that? what is giving what to what? how is need determined? how can a regex disable that?
It's not easy if new to to Regex and try to understand something in a advance Regex as this.
It's about the use of ? look at Greedy and lazy quantifiers,then use languages as this expanding as needed (lazy) or giving back as needed
The regex for Python,the article is for JavaScript but it explanation really good,
and Regex pattern is universal with small changes how languages implementing it.
Reply


Messages In This Thread
RE: trying to recall a regex for re.split() - by snippsat - May-20-2022, 11:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Split pdf in pypdf based upon file regex standenman 1 2,307 Feb-03-2023, 12:01 PM
Last Post: SpongeB0B
  recall cool_person 1 1,106 May-07-2022, 08:04 AM
Last Post: menator01

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020