Jared Hancock
14ccdeb4d7
extmod/modre: Add support for start- and endpos.
...
Pattern objects have two additional parameters for the ::search and ::match
methods to define the starting and ending position of the subject within
the string to be searched.
This allows for searching a sub-string without creating a slice. However,
one caveat of using the start-pos rather than a slice is that the start
anchor (`^`) remains anchored to the beginning of the text.
Signed-off-by: Jared Hancock <jared@greezybacon.me >
2025-08-11 14:11:56 +10:00
..
2017-11-10 00:09:43 +02:00
2025-02-11 16:17:00 +11:00
2024-05-15 14:13:30 +10:00
2024-12-03 22:22:55 +11:00
2025-07-31 11:02:41 +10:00
2025-08-01 22:58:26 +10:00
2025-02-11 16:17:00 +11:00
2017-07-02 15:37:31 +03:00
2024-03-19 10:09:11 +11:00
2021-08-13 22:53:29 +10:00
2023-09-01 12:23:37 +10:00
2021-08-13 22:53:29 +10:00
2025-08-02 00:00:03 +10:00
2023-11-22 16:48:35 +11:00
2025-02-11 16:23:35 +11:00
2025-06-04 02:40:45 +10:00
2023-09-15 12:19:13 +10:00
2023-07-21 19:32:42 +10:00
2021-08-13 22:53:29 +10:00
2021-12-15 11:49:22 +11:00
2025-02-11 16:59:11 +11:00
2023-10-16 23:07:13 +11:00
2021-08-13 22:53:29 +10:00
2021-12-15 11:49:22 +11:00
2023-04-27 18:03:06 +10:00
2024-03-07 16:25:17 +11:00
2021-12-15 11:49:22 +11:00
2025-08-02 00:00:03 +10:00
2025-08-02 00:00:03 +10:00
2023-04-27 18:03:06 +10:00
2025-08-01 23:03:17 +10:00
2023-06-19 18:36:54 +10:00
2025-02-28 16:51:54 +11:00
2025-05-16 12:34:32 +10:00
2025-08-02 00:00:03 +10:00
2024-12-19 16:04:47 +11:00
2024-02-07 13:25:10 +11:00
2025-03-13 12:27:23 +11:00
2020-10-20 17:21:30 +11:00
2023-04-27 18:03:06 +10:00
2023-04-27 18:03:06 +10:00
2024-11-30 13:08:33 +11:00
2025-05-28 12:13:51 +10:00
2024-12-20 14:02:17 +11:00
2023-06-23 15:34:49 +10:00
2025-02-11 16:59:11 +11:00
2024-09-17 11:22:26 +10:00
2024-09-19 18:00:44 +10:00
2024-08-01 12:04:58 +10:00
2025-02-11 12:56:42 +11:00
2025-02-11 16:11:33 +11:00
2024-08-29 23:47:55 +10:00
2025-02-11 12:56:42 +11:00
2025-03-05 16:15:31 +11:00
2024-07-05 16:06:04 +10:00
2024-03-15 18:11:28 +11:00
2024-02-07 13:25:09 +11:00
2023-09-04 22:40:56 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2025-01-17 12:13:17 +11:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2024-02-07 13:25:09 +11:00
2023-04-27 18:03:06 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2022-07-29 12:16:32 +10:00
2024-11-19 10:57:26 +11:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2024-11-30 13:08:33 +11:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2022-06-21 14:33:23 +10:00
2023-06-08 17:54:11 +10:00
2025-08-11 14:11:56 +10:00
2024-03-19 17:10:54 +11:00
2024-02-07 13:25:09 +11:00
2024-10-15 12:09:48 +11:00
2025-02-08 12:34:26 +11:00
2025-08-01 15:10:15 +10:00
2021-08-13 22:53:29 +10:00
2025-06-03 12:52:25 +10:00
2025-07-23 15:47:16 +10:00
2023-08-23 11:58:11 +10:00
2024-03-20 14:13:49 +11:00
2025-07-22 23:22:05 +10:00
2025-05-28 12:13:28 +10:00
2021-08-13 22:53:29 +10:00
2025-03-27 16:37:04 +11:00
2015-10-21 15:30:56 +02:00
2025-05-07 15:16:55 +10:00
2024-02-07 13:25:09 +11:00
2024-02-07 13:25:09 +11:00
2025-04-29 23:00:37 +10:00
2021-08-13 20:21:14 +10:00
2023-07-21 19:32:42 +10:00