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

dpifke / golang-fastmatch
99%

Build:
DEFAULT BRANCH: master
Repo Added 06 Oct 2016 10:06AM UTC
Files 5
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • master

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

Relevant lines Covered
Build:
Build:
874 RELEVANT LINES 868 COVERED LINES
213.86 HITS PER LINE
Source Files on master
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2 master 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 termin... push 22 Feb 2017 12:33AM UTC dpifke travis-ci pending completion  
1 master Switch to Travis-CI drone.io is no more. :( Switch to using Travis for continuous integration and Coveralls integration. push 23 Jan 2017 12:36AM UTC dpifke travis-ci pending completion  
#2 master Avoid unnecessary state updates; minor cleanups push 06 Oct 2016 01:56PM UTC dpifke drone.io pending completion  
#1 master Add README and LICENSE. push 06 Oct 2016 10:15AM UTC dpifke drone.io pending completion  
See All Builds (4)
  • Repo on GitHub
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