Message373493
I think it's fine as-is. The real purpose of the example is show basic patterns in writing regexes. Pig-latin examples or searching for words ending in -ly make for nice beginner examples. I like the OP's modification because it teaches a general skill (the importance of \b for making sure you get whole words).
We could add a link to the Natural Language Toolkit for people who are getting serious about searching for parts of speech. |
|
Date |
User |
Action |
Args |
2020-07-11 00:21:13 | rhettinger | set | recipients:
+ rhettinger, peter.otten, ezio.melotti, mrabarnett, docs@python, Rim Chatti |
2020-07-11 00:21:13 | rhettinger | set | messageid: <1594426873.9.0.669036966061.issue41259@roundup.psfhosted.org> |
2020-07-11 00:21:13 | rhettinger | link | issue41259 messages |
2020-07-11 00:21:13 | rhettinger | create | |
|