News for hackers. Stuff that matters.
Re:CLI tools hidden in the Python standard library by anentropic on Thursday June 29, 2023 @05:41AM (#36518327)
FWIW there is an example of building a tokenizer/scanner using documented features of the re module here: https://docs.python.org/3.11/library/re.html#writing-a-token...

re.Scanner looks more succinct though...!

Re:CLI tools hidden in the Python standard library by czx4f4bd on Thursday June 29, 2023 @10:50AM (#36521155)
I find that even more bizarre tbh. Thst seems like the perfect place to document the Scanner class.