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

polserver / polserver / 19437839955
61%

Build:
DEFAULT BRANCH: master
Ran 17 Nov 2025 05:12PM UTC
Jobs 1
Files 822
Run time 48min
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

17 Nov 2025 05:02PM UTC coverage: 60.232% (+0.2%) from 60.077%
19437839955

push

github

web-flow
Add support for regular expressions (#818)

* implementation

* tests

* maybe fix windows compilation?

* undo change of match_flag_type

* switch to boost regex

* move flags to BRegExp object

* fix tests due to cmake 4 update

* update grammar

* update prettifier

* move flag parsing to BRegExp ctor

* add AST nodes, update instr generation and execution

* copy tests but use regular expression literals

* fix grammar for handling division correctly

* modify return values a bit, update tests
- string.match: make groups hold structs of matched, offset
- string.match: add offset
- string.replace: use a groups array like string.match vs individual arguments

* bundle of changes

- standardize error messages
- add more tests for coverage
- move BRegExp creation to static method:  previous implementation had
  ctor throwing, which was no good inside executor since it didn't have
  a try/catch

* more tests; add OT_REGEXP to basic.em

* move string regex stuff to bregexp and support regex/wregex via std::visit

* maybe fix compilation errors?

* add unicode escape sequence handling

* really maybe fix compilation error?

* fix compiler warnings

* refactor a bit to remove duplicate code

* address discord comments
- just return wstring, no need for vector<wchar_t> method

* Add string.split by string and regexp

* Use Max_Split instead of Limit
This makes it match basic::SplitWords

* add support for empty string delim in SplitWords

* remove duplicate code across string.split and mf_SplitWords

* Squashed commit of the following:

commit b3148e069
Author: turleypol <turley@polserver.com>
Date:   Sat Sep 27 17:02:22 2025 +0200

    memorylocation of input string is not allowed to changed, switched back
    to uniqueptr

commit 5a4d1c8fc
Author: turleypol <turley@polserver.com>
Date:   Sat Sep 27 10:18:01 2025 +0200

    no need to use ptr for input

commit 90fa0edc66034db77a43222612b4981bf0... (continued)

327 of 359 new or added lines in 16 files covered. (91.09%)

44243 of 73454 relevant lines covered (60.23%)

419446.03 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.09
-0.22% pol-core/clib/strutil.cpp
2
86.43
0.03% pol-core/bscript/compiler/astbuilder/ValueBuilder.cpp
3
70.0
pol-core/bscript/compiler/ast/RegularExpressionValue.cpp
3
18.86
-0.12% pol-core/bscript/tkn_strm.cpp
5
80.54
1.26% pol-core/bscript/str.cpp
18
91.0
pol-core/bscript/regexp.cpp
Jobs
ID Job ID Ran Files Coverage
1 19437839955.1 17 Nov 2025 05:12PM UTC 822
60.23
GitHub Action Run
Source Files on build 19437839955
  • Tree
  • List 822
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5cf6949e on github
  • Prev Build on master (#19047041014)
  • Next Build on master (#19502814147)
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