Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve worst-case performance of inline.text regex #1460

Merged
merged 1 commit into from
Apr 5, 2019

Commits on Apr 4, 2019

  1. 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>
    andersk committed Apr 4, 2019
    Configuration menu
    Copy the full SHA
    be27472 View commit details
    Browse the repository at this point in the history