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

Qiskit / qiskit / 21709091464
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: simd-fixedbitset
DEFAULT BRANCH: main
Ran 05 Feb 2026 11:38AM UTC
Jobs 1
Files 897
Run time 2min
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

05 Feb 2026 11:06AM UTC coverage: 87.971% (+0.008%) from 87.963%
21709091464

push

github

web-flow
Fix digit escaping in OpenQASM 3 identifier (#15305)

* Fix digit escaping in OpenQASM 3 identifier

The previous regex used `\w` as the match for an initial id character,
and `[\w\d]` for continuations.  Actually, `\w` matches any character
that `str.isalnum` returns `True` plus the underscore, which includes
all Unicode characters in the "digit" class, so is a superset of `\d`.
The match `\d` is only the Unicode group `[Nd]` (decimal digits), which
is not as complete as the entire `[N?]` set, so we can't even use
variants of `[^\W\d_]` or the like to get something usable; we'd have to
pull in the third-party `regex` package or the like to make an exact
match.

This instead causes the Qiskit exporter to allow only a subset of valid
OQ3 identifiers on export in lieu of _complete_ matching.  Additionally,
we now do not accidentally include digits in the allowed set of initial
characters for IDs (but do allow then in continuations).

* Add tests of multiple consecutive characters

* Fix broken test

4 of 4 new or added lines in 1 file covered. (100.0%)

6 existing lines in 1 file now uncovered.

100020 of 113697 relevant lines covered (87.97%)

1162153.23 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
92.03
-0.51% crates/qasm2/src/lex.rs
Jobs
ID Job ID Ran Files Coverage
1 21709091464.1 05 Feb 2026 11:38AM UTC 897
87.97
GitHub Action Run
Source Files on build 21709091464
  • Tree
  • List 897
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21709091464
  • cc675b6d on github
  • Prev Build on gh-readonly-queue/main/pr-15648-7dde3e1fd6e292ff229411814f29aadfd73b72b6 (#21670746370)
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