Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f4dbbcd
Initial plan
Copilot Jul 21, 2026
90a14d8
Commit 1: Copy Ruby regex library files verbatim (non-compiling check…
Copilot Jul 21, 2026
52b35ef
Commit 2: Adapt Ruby regex library to compile against C++
Copilot Jul 21, 2026
d7a8f48
Commit 3: Add test.cpp corpus wrapped in std::regex stubs; generate .…
Copilot Jul 21, 2026
96c7e2d
Commit 4: Curate corpus for C++ ECMAScript; regenerate .expected
Copilot Jul 21, 2026
67ff589
Commit 5: Remove Ruby-only parser features; shift to ECMAScript dialect
Copilot Jul 21, 2026
9fd7e94
Commit 6: Add POSIX-bracket extension tests (pre-fix, capturing incor…
Copilot Jul 21, 2026
cebddbd
Commit 7: Implement POSIX collating symbol and equivalence class support
Copilot Jul 21, 2026
e7ccb1f
Commit 8: Add location tests exposing term-location off-by-one (pre-fix)
Copilot Jul 21, 2026
bfa6530
Commit 9: Fix hasLocationInfo for all string literal forms; fix unico…
Copilot Jul 21, 2026
448ae6a
Commit 1: Remove \p{...}/\P{...} named-character-property handling
Copilot Jul 21, 2026
76e3118
Commit 2: Fix \0 escape parsing
Copilot Jul 21, 2026
903e9f2
Commit 3: Remove \U unicode-escape residue; keep only ECMAScript \uHHHH
Copilot Jul 21, 2026
8aa1a7b
Commit 4: Correct anchor semantics/docs for default std::regex
Copilot Jul 21, 2026
8d53e36
Commit 5: Port missing POSIX-bracket parse cases from PR #22200
Copilot Jul 21, 2026
bfb7b1d
Commit 6: Fix POSIX-bracket mis-parses revealed by Commit 5
Copilot Jul 21, 2026
633ba01
Commit 7: Add Consistency.ql regression guard
Copilot Jul 21, 2026
2f01e13
Commit 8: Complete location-test coverage for u8 and u8R forms
Copilot Jul 21, 2026
e4305fb
Commit 9: Remove leftover Ruby scratch corpus regexp.rb
Copilot Jul 21, 2026
34bb7ac
Commit 10: Strip process-narrative comments from shipped source
Copilot Jul 21, 2026
f28d7f5
Remove named capture group support from C++ ECMAScript regex parser
Copilot Jul 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cpp/ql/lib/change-notes/2026-07-21-cpp-regex-tree-view.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: minorAnalysis
---
* Added an internal C++ regular-expression parse library and tree view targeting the ECMAScript grammar (the default for `std::regex`). No queries are added in this change.
1 change: 1 addition & 0 deletions cpp/ql/lib/qlpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ dependencies:
codeql/mad: ${workspace}
codeql/quantum: ${workspace}
codeql/rangeanalysis: ${workspace}
codeql/regex: ${workspace}
codeql/ssa: ${workspace}
codeql/typeflow: ${workspace}
codeql/tutorial: ${workspace}
Expand Down
Loading