News for hackers. Stuff that matters.
Re:CLI tools hidden in the Python standard library by fastasucan on Thursday June 29, 2023 @04:34PM (#36526321)
'A bit more verbose' = 2,5 times as many characters. Not saying its good or bad just saying its a bit more verbose ;)
Re:CLI tools hidden in the Python standard library by burntsushi on Thursday June 29, 2023 @08:06PM (#36528652)
Yes, as I said, the APIs exposed in regex-automata give a lot more power. It's an "expert" level crate. You could pretty easily build a scanner-like abstraction and get pretty close to the Python code.

I posted this because a lot of regex engines don't support this type of use case. Or don't support it well without having to give something up.