Ran
|
Jobs
3
|
Files
308
|
Run time
7min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/parsoid/commit/942e89096">Link prefix fixes for Parsoid/PHP Parsoid/PHP was missing the `D` regexp modifier when creating a link prefix regexp from a character set, which caused the prefix to jump over newlines. While auditing, noticed that the PHP prefix/trail regexps also contain the `s` modifier (DOTALL). However, node v6 doesn't support the `s` modifier, and it appears that this is just used to handle the "bit after the link trail" in the regexp -- the link trail for enwiki for example is: ``` /^([a-z]+)(.*)$/sD ``` We actually strip the `(.*)$` part out in WikiConfig.js::buildLinkNeighborRegex() and SiteConfig.php::linkTrailRegex() so the `s` modifier should be unnecessary in both Parsoid/JS and Parsoid/PHP. Bug: T236183 Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/parsoid/commit/b4df6ed1d">b4df6ed1d</a>
19222 of 24160 branches covered (79.56%)
30154 of 35544 relevant lines covered (84.84%)
99215.48 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 3116.1 | 154 |
84.84 |
Travis Job 3116.1 | |
2 | 3116.2 | 154 |
84.84 |
Travis Job 3116.2 | |
3 | 3116.3 | 154 |
84.86 |
Travis Job 3116.3 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|