Ran
|
Files
153
|
Run time
12s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/498ee5aa5">Fix comment fragment regexp to avoid PREG_JIT_STACKLIMIT_ERROR * Anomie suggested this fix to make the regexp more efficient. * I cannot backport this to JS since it doesn't support this "Once-only subpatterns" feature. See https://www.php.net/manual/en/regexp.reference.onlyonce.php Without this feature, when "<!--[\s\S]*?-->" is embedded in other regexps, it could match across multiple comments when it backtracks. Specifically, the "Comment spacing" parser test fails without this once-only subpattern protection. This is because of its usage in the html2wt PreHandler. * This fixes a crasher seen in round trip testing. Tested on enwiki:Norio Wakamoto. Bug: T231651 Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/db2676533">db2676533</a>
9641 of 12141 branches covered (79.41%)
15073 of 17771 relevant lines covered (84.82%)
33424.86 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|