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

Qiskit / qiskit / 21710567018
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: mergify/bp/stable/2.3/pr-15685
DEFAULT BRANCH: main
Ran 05 Feb 2026 12:29PM UTC
Jobs 1
Files 884
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:57AM UTC coverage: 88.34% (-0.001%) from 88.341%
21710567018

push

github

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

* 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

(cherry picked from commit cc675b6d3)

Co-authored-by: Jake Lishman <jake.lishman@ibm.com>

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

13 existing lines in 3 files now uncovered.

96631 of 109385 relevant lines covered (88.34%)

1202908.72 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.37
0.0% crates/circuit/src/parameter/parameter_expression.rs
6
91.52
-0.77% crates/qasm2/src/lex.rs
6
96.21
-0.47% crates/qasm2/src/parse.rs
Jobs
ID Job ID Ran Files Coverage
1 21710567018.1 05 Feb 2026 12:29PM UTC 884
88.34
GitHub Action Run
Source Files on build 21710567018
  • Tree
  • List 884
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21710567018
  • aaa26772 on github
  • Prev Build on gh-readonly-queue/stable/2.3/pr-15628-59ccb5039a92b1e0d1b516f1f39a3c99ce17c88c (#21526637824)
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