2 Commits

Author SHA1 Message Date
Tony Brix
0620845bf0 allow redos spec only 2019-04-12 11:33:41 -05:00
Anders Kaseorg
be27472a81 Improve worst-case performance of inline.text regex
The old regex may take quadratic time to scan for potential line
breaks or email addresses starting at every point.  Fix it to avoid
scanning from points that would have been in the middle of a previous
scan.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-04-04 11:13:51 -07:00