gvwilson / sdxpy

Software Design by Example: a tool-based introduction with Python
https://third-bit.com/sdxpy/
Other
280 stars 49 forks source link

Potential typo in Table 4.1: Pattern-matching cases #308

Open stephenscliu opened 6 days ago

stephenscliu commented 6 days ago

For the fourth row in Table 4.1: Pattern-matching cases, my impression is that it's trying to match the * pattern against the empty string. Right now, the text is a closing double quote followed by an opening double quote (rather than opening then closing), which I feel like might be a typo.

Screenshot 2024-06-26 at 4 42 50 PM
gvwilson commented 6 days ago

thanks for the report - that's weird, but I should be able to fix it.