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

dpifke / golang-fastmatch / 2
99%

Build:
DEFAULT BRANCH: master
Ran 22 Feb 2017 12:33AM UTC
Jobs 1
Files 5
Run time 0s
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
2

push

travis-ci

dpifke
New flags: StopUpon, Ignore, IgnoreExcept

Add some Generate() flags which allow for the construction of more
complicated matchers:

StopUpon specifies runes which are to be treated like a string
boundary, i.e. cause matching to immediately terminate.  Ignore
specifies runes which are to be ignored in the input.  IgnoreExcept is
similar, except all runes not listed will be ignored.  See the godoc
for more information and examples.

To make these flags (and Equivalent) easier to use, I added a helper
function, Range(), and some predefined ranges for ASCII runes:
Numbers, Letters, Uppercase, Lowercase, and Alphanumeric.

There were a handful of minor cleanups along the way, notably some
better tests for runeEquivalents and slightly improved test coverage
of error handling for bad flags.

With these enhancements, code generation (generate.go) has grown
somewhat unwieldy; I plan to clean it up (and speed up the tests) in a
future commit.  The generated code is still about as efficient as I
can make it.

868 of 874 relevant lines covered (99.31%)

213.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2.1 22 Feb 2017 12:33AM UTC 0
99.31
Travis Job 2.1
Source Files on build 2
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2
  • 6bd661eb on github
  • Prev Build on master
  • Next Build on master
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

© 2025 Coveralls, Inc