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

loot / libloot / 16580222127
93%
master: 94%

Build:
Build:
LAST BUILD BRANCH: update-napi-derive
DEFAULT BRANCH: master
Ran 28 Jul 2025 09:02PM UTC
Jobs 3
Files 37
Run time 1min
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

28 Jul 2025 09:00PM UTC coverage: 92.895% (-0.003%) from 92.898%
16580222127

push

github

Ortham
Switch to the regress crate for regex

It uses about 56 MB less memory when LOOT launches into my Skyrim SE
large test load order with the latest masterlist and prelude, and
explicitly targets ECMAScript-like syntax like C++ std::regex does.

Compared to fancy-regex's syntax support, regress adds support for the
\0 nul character escape and removes support for:

- modifiers (e.g. `(?i)`)
- some Unicode character classes (e.g. used with `\p{}` and `\P{}`)
- the ASCII/POSIX character classes (e.g. `[:alpha:]`)

Another difference is that fancy-regex's u flag is a combination of
JavaScript's (and regress's) u and v flags.

The nul character escape is irrelevant for filename matching as it's not
allowed in Windows or Linux filenames.

Compared to C++ std::regex, the new restrictions are:

- the lack of support for ASCII/POSIX character classes
- the lack of support for control character escapes (e.g. `\cX`)

The lack of support for control character escapes is irrelevant as
control characters aren't allowed in Windows filenames.

A search of the masterlists doesn't find any use of the ASCII character
classes, and it's very unlikely that any user metadata would use them.
If such syntax is in use, it'll cause an error.

35 of 37 new or added lines in 3 files covered. (94.59%)

11 existing lines in 1 file now uncovered.

10655 of 11470 relevant lines covered (92.89%)

217.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.61
-0.3% src/plugin/mod.rs

Uncovered Existing Lines

Lines Coverage ∆ File
11
98.26
0.0% src/database/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 16580222127.1 28 Jul 2025 09:02PM UTC 37
92.73
GitHub Action Run
2 16580222127.2 28 Jul 2025 09:03PM UTC 37
92.71
GitHub Action Run
3 16580222127.3 28 Jul 2025 09:03PM UTC 37
92.71
GitHub Action Run
Source Files on build 16580222127
  • Tree
  • List 37
  • Changed 37
  • Source Changed 37
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16580222127
  • d13b7cc4 on github
  • Prev Build on misc-changes (#16574965834)
  • Next Build on regress (#16604225625)
  • Delete
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