Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #47. Improved HRProccessor.\n\nPython's re module does not support ↵ | Waylan Limberg | 2011-11-17 | 1 | -0/+3 |
| | | | | 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. | ||||
* | Adding para-with-hr test. (Broken at the moment.) | Yuri Takhteyev | 2008-12-07 | 1 | -0/+4 |