Message193687
| Author |
philwebster |
| Recipients |
JayKrish, Todd.Rovito, philwebster, roger.serwy, terry.reedy |
| Date |
2013年07月25日.05:16:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1374729392.55.0.0678829076788.issue18226@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This patch moves the comment_header code to reformat_comment, adds tests for reformat_comment, and implements the fix that Todd mentioned in #18429. In addition, I changed the get_comment_header and get_indent regular expressions to only look for spaces and tabs, rather than any whitespace ('\s'). These functions should only ever get single lines, but I don't think characters like newline would ever need to be part of the comment header. |
|