copilot-swe-agent[bot]
96c7e2dbc5
Commit 4: Curate corpus for C++ ECMAScript; regenerate .expected
...
Content-only edits to test.cpp to remove Ruby-only syntax that has no
C++ ECMAScript equivalent:
1. Removed: "a{,8}" — Ruby-only "{,n}" no-lower-bound quantifier
(ECMAScript requires an explicit lower bound in {n,m})
2. Removed: second ".*" for /.*/m — mode flags in C++ are construction-site
arguments (e.g. std::regex::multiline), not part of the pattern string.
This mode variant was the exact same pattern string as r_meta1 so it
added no coverage.
3. Removed: "(?'foo'fo+)" — Ruby single-quote named-group form.
ECMAScript only supports the angle-bracket form (?<name>...).
Left in place for now (removed with the parser in commit 5):
\\A, \\z, \\G, \\h, \\H — Ruby-only anchor/escape classes.
The POSIX-bracket cases are kept through commit 7.
.expected regenerated by:
codeql test run --learn --search-path=. cpp/ql/test/library-tests/regex/
(CodeQL CLI 2.26.1)
All 2 tests passed.
2026-07-21 10:12:21 +00:00
..
2023-10-13 12:05:20 +01:00
2024-07-24 08:21:01 +02:00
2020-03-19 09:18:32 -04:00
2024-12-20 16:01:19 +01:00
2019-09-09 11:25:53 +02:00
2024-07-11 12:59:52 +01:00
2024-07-12 18:06:56 +01:00
2025-11-26 13:42:43 +01:00
2024-10-22 20:38:00 +02:00
2025-02-04 13:19:49 +01:00
2026-04-23 10:13:57 +02:00
2024-08-30 14:24:03 +02:00
2024-10-22 20:38:00 +02:00
2025-03-31 17:45:44 +02:00
2019-09-09 11:25:53 +02:00
2019-09-09 11:25:53 +02:00
2024-12-19 21:46:33 +01:00
2020-10-14 12:59:47 +01:00
2024-06-20 14:21:34 +02:00
2020-10-07 13:14:54 -04:00
2025-06-03 16:04:35 +02:00
2024-04-02 10:32:03 +02:00
2024-12-19 21:46:33 +01:00
2021-08-19 09:48:13 +01:00
2026-01-06 13:53:41 +01:00
2025-01-16 08:17:57 +01:00
2024-12-19 21:46:33 +01:00
2026-04-23 10:13:57 +02:00
2019-11-19 11:30:59 +01:00
2024-12-19 21:46:33 +01:00
2024-12-20 13:53:35 +01:00
2020-10-14 12:59:47 +01:00
2024-04-09 15:15:41 +02:00
2024-06-20 14:21:34 +02:00
2026-03-24 15:32:58 +01:00
2026-07-02 12:38:44 +01:00
2024-12-17 20:25:41 +01:00
2024-10-16 11:33:18 +02:00
2024-06-20 14:21:34 +02:00
2025-04-23 16:56:56 +02:00
2024-08-02 14:12:56 +02:00
2020-10-14 12:59:47 +01:00
2022-03-25 11:43:01 +01:00
2019-09-09 11:25:53 +02:00
2024-07-12 18:06:56 +01:00
2019-09-09 11:25:53 +02:00
2024-10-22 20:38:00 +02:00
2025-04-23 16:56:56 +02:00
2019-11-13 14:07:33 +01:00
2025-05-28 14:16:47 +02:00
2019-09-09 11:25:53 +02:00
2019-09-09 11:25:53 +02:00
2024-11-12 09:49:10 +00:00
2024-04-12 14:19:37 +01:00
2025-09-18 12:16:28 +01:00
2025-06-20 13:51:36 +02:00
2024-12-19 21:46:33 +01:00
2026-05-27 10:23:16 +02:00
2020-09-15 17:58:37 +01:00
2025-06-04 14:03:43 +02:00
2019-09-09 11:25:53 +02:00
2024-12-20 16:01:19 +01:00
2025-09-18 12:16:28 +01:00
2025-01-21 18:02:28 +01:00
2024-07-12 18:06:56 +01:00
2023-05-09 15:35:54 +02:00
2025-06-27 14:42:08 +02:00
2024-07-12 18:06:56 +01:00
2026-07-07 09:49:50 +01:00
2025-06-11 11:41:50 +02:00
2019-09-09 11:25:53 +02:00
2019-11-19 11:30:59 +01:00
2026-01-13 16:11:05 +01:00
2023-05-09 15:35:54 +02:00
2023-05-09 15:35:54 +02:00
2026-07-07 09:49:50 +01:00
2025-08-25 15:56:00 +02:00
2024-07-12 18:08:18 +01:00
2020-10-14 12:59:47 +01:00
2026-06-10 14:35:36 +02:00
2020-10-14 12:59:47 +01:00
2020-01-29 13:11:50 +01:00
2024-07-12 18:06:56 +01:00
2020-01-20 15:00:09 +00:00
2020-01-29 13:11:50 +01:00
2019-09-09 11:25:53 +02:00
2019-09-09 11:25:53 +02:00
2019-09-09 11:25:53 +02:00
2024-05-27 14:21:10 +02:00
2024-10-16 11:33:18 +02:00
2025-09-25 09:52:22 +02:00
2022-08-25 20:52:27 +02:00
2024-10-22 20:38:00 +02:00
2019-09-09 11:25:53 +02:00
2025-09-18 12:16:28 +01:00
2022-10-21 18:36:12 +01:00
2025-01-15 11:38:03 +01:00
2025-06-30 17:11:59 +02:00
2019-09-09 11:25:53 +02:00
2020-11-03 13:39:33 -05:00
2020-05-28 09:42:49 +02:00
2026-04-23 10:13:57 +02:00
2019-09-09 11:25:53 +02:00
2026-07-21 10:12:21 +00:00
2025-06-18 10:11:55 +02:00
2024-12-20 16:01:19 +01:00
2022-08-25 20:52:27 +02:00
2026-05-18 14:06:18 +01:00
2026-01-06 13:53:34 +01:00
2020-06-30 17:46:08 +01:00
2022-04-25 21:13:52 +02:00
2024-07-12 18:10:32 +01:00
2019-09-09 11:25:53 +02:00
2025-04-02 15:20:06 +02:00
2019-09-09 11:25:53 +02:00
2020-05-28 09:42:49 +02:00
2025-06-13 09:44:03 +02:00
2022-03-10 19:00:49 +01:00
2022-05-11 17:48:27 +01:00
2024-01-29 14:11:07 +00:00
2019-09-09 11:25:53 +02:00
2019-09-09 11:25:53 +02:00
2025-05-16 15:12:06 +02:00
2024-10-22 20:38:00 +02:00
2026-01-08 13:13:20 +01:00
2022-04-25 21:13:52 +02:00
2022-04-25 21:13:52 +02:00
2020-05-28 09:42:49 +02:00
2026-07-07 09:49:50 +01:00
2026-01-13 16:11:05 +01:00
2026-01-13 16:11:05 +01:00
2019-09-09 11:25:53 +02:00
2025-09-18 12:16:28 +01:00
2020-05-28 09:42:49 +02:00
2025-11-18 20:03:24 +00:00
2024-12-20 16:01:19 +01:00
2020-09-15 17:58:37 +01:00
2026-01-13 16:11:05 +01:00
2026-05-18 14:22:04 +02:00
2022-04-21 17:36:11 +02:00
2025-08-03 12:17:34 +01:00
2026-01-13 16:11:05 +01:00
2019-09-27 11:28:31 +01:00
2026-01-08 11:55:47 +01:00
2024-10-22 20:38:00 +02:00
2024-10-22 20:38:00 +02:00