The Real Python Podcast cover image

Make Your Python App Interactive With a Text User Interface (TUI)

The Real Python Podcast

00:00

Syntax Highln

The output from reper is not a formal syntax. It looks like cod, but it isn't really cod. But you can add custom repers. So for that, i use regular expressions which seems to work quite well. And that sintax highlan works h quite well. You know, canto have regular expression for strings, which picks out strings,. Anything which looks like a tag, i can high like that is a tag. And niht nips t the time. I think maybe cause they can kind of build on top of the syntac highlighting that you're doingehow's that work? Is it? Is it parsing individual words or bits of code and identifying them

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