aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/para-with-hr.html
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #47. Improved HRProccessor.\n\nPython's re module does not support ↵Waylan Limberg2011-11-171-1/+4
| | | | atomic grouping, which was slowing the HR regex down if a long HR ended with a non HR char (casing the regex to backtrack). Therefore, we have to simulate atomic grouping. Fortunately, we only need to match end-of-line or end-of-string after the atomic group here, so it was an easy case to simulate. Just remove the '$' from the end of the regex and manualy check using m.end(). The run method was refactored while I was at it, saving us from running the regex twice for each HR.
* Fixed para-with-hr test. The code was working correctly, but the test was wrong.Waylan Limberg2008-12-071-2/+3
|
* Adding para-with-hr test. (Broken at the moment.)Yuri Takhteyev2008-12-071-0/+2