Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anentropic
on June 29, 2023
|
parent
|
context
|
favorite
| on:
CLI tools hidden in the Python standard library
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...!
czx4f4bd
on June 29, 2023
[–]
I find that even more bizarre tbh. Thst seems like the perfect place to document the Scanner class.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
re.Scanner looks more succinct though...!