Extract lines from file, add to new files
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon Jan 15 03:21:44 EST 2024
On 15/01/24 9:07 pm, Chris Angelico wrote:
> The grammar *can't* specify everything. If it did, it would have to
> have rules for combining individual letters into a NAME and individual
> characters into a string literal.
The lexical level of a grammar can be, and often is, described
formally using regular expressions.
Although some might consider that this doesn't contradict
your statement about readability. :-)
--
Greg
More information about the Python-list
mailing list