The Real Python Podcast cover image

Checking Project Dependencies & Python Dev Resource Collections

The Real Python Podcast

00:00

How to Use Reg X to Search for Multiple Words

Christopher Bailey: I want to thank Christopher Trudeau for coming on the show again this week. What's your project? So I've got a quick one this week. This is called TR Rex. It's a reg X utility where you give it a bunch of words and it builds a reg X like union that can find each of those words. The function returns an actual Python reg X pattern object. And so you're getting 300 times performance boost, then say naively sticking a reg X together in a union. Well, something tells me adding chat GPT is adding at least there's an problem somewhere.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app