Message334504
| Author |
pbugnion |
| Recipients |
ezio.melotti, mrabarnett, pbugnion |
| Date |
2019年01月29日.08:06:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1548749168.19.0.209945761228.issue35846@roundup.psfhosted.org> |
| In-reply-to |
| Content |
The documentation for `re.sub` states that "Unknown escapes such as ``\&`` are left alone.". This is only true for escapes which are not ascii characters, as far as I can tell (c.f. source on https://github.com/python/cpython/blob/master/Lib/sre_parse.py#L1047).
Would there be value in amending that documentation to either remove that sentence or to clarify it? If so, I'm happy to submit a PR on GitHub. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2019年01月29日 08:06:11 | pbugnion | set | recipients:
+ pbugnion, ezio.melotti, mrabarnett |
| 2019年01月29日 08:06:08 | pbugnion | set | messageid: <1548749168.19.0.209945761228.issue35846@roundup.psfhosted.org> |
| 2019年01月29日 08:06:08 | pbugnion | link | issue35846 messages |
| 2019年01月29日 08:06:07 | pbugnion | create |
|