maciejhirsz
logos
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Optimizations
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(codegen): substitute subpatterns inside character classes without flag group A subpattern referenced inside a character class, e.g. `#[logos(subpattern start = r"[^(?&ws)(?&punct)]")`, was substituted with its flag-wrapped body: `(?u:...)`. Flag-setting groups are not valid regex syntax inside a class, so the regex parser treated those characters literally: `u` (as well as `?`, `(` and `:`) silently became class members, and a negated class then excluded them. Concretely, a token using such a class failed to lex the letter `u` ā and nothing else (issue #580). Track character-class context while substituting `(?&name)` references: inside a class the bare (flag-free) body is spliced in, outside it the flag-wrapped body is kept as before. The per-subpattern test compile still uses the wrapped form, so existing diagnostics are unchanged. Fixes #580 š¤ Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
Golopmoui3:master
14 days ago
Merge pull request #579 from jakobhellermann/upgrade-syn-3 Upgrade logos-codegen to syn 3
master
16 days ago
Update snapshot tests in whole workspace after syn update
jakobhellermann:upgrade-syn-3
16 days ago
Merge origin/master into codex/workspace-layout Signed-off-by: tison <wander4096@gmail.com>
tisonkun:codex/workspace-layout
17 days ago
Merge pull request #582 from toyeshhm/fix-doc-typos Fix Brainfuck example path and forbid_unsafe feature name in docs
master
18 days ago
ci: centralize tarpaulin configuration
tisonkun:codex/workspace-layout
1 month ago
Merge pull request #577 from ChrisJr404/morph-extras-variants Add morph variants that replace or map the lexer extras
master
1 month ago
Upgrade logos-codegen to syn 3
jakobhellermann:upgrade-syn-3
1 month ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(codegen): substitute subpatterns inside character classes without flag group
#581
21 days ago
c5333df
Golopmoui3:master
CodSpeed Performance Gauge
0%
Upgrade logos-codegen to syn 3
#579
1 month ago
5554ce1
jakobhellermann:upgrade-syn-3
CodSpeed Performance Gauge
N/A
chore: restructure the workspace layout
#578
17 days ago
dda9e4d
tisonkun:codex/workspace-layout
Ā© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs