• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rust-lang / regex / 1056
93%

Build:
DEFAULT BRANCH: master
Ran 20 May 2017 05:56PM UTC
Jobs 1
Files 21
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1056

push

travis-ci

bors
Auto merge of #369 - rust-lang:ag-fix-353, r=BurntSushi

compiler: fix RegexSet bug

When compiling a RegexSet, it was possible for the jump locations to
become incorrect if the last regex in the set had a starting location
that didn't correspond to the beginning of its program. This can happen
in simple cases like when your set consists of the regexes `a` and `β`.
In particular, the program for `β` is:

    0: Bytes(\xB2) (goto 2)
    1: Bytes(\xCE) (goto 0)
    2: MATCH

Where the entry point is `1` instead of `0`. To fix this, we compile a
set of regexes similarly to how we compile `a|β`, where we handle the
holes produced by sub-expressions correctly.

Fixes #353

3678 of 4059 relevant lines covered (90.61%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
4 1056.4 20 May 2017 05:56PM UTC 0
90.61
Travis Job 1056.4
Source Files on build 1056
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1056
  • 8a1b2bba on github
  • Prev Build on master (#1053)
  • Next Build on master (#1058)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc