Files
yq/pkg/yqlib/doc/operators/headers
CopilotGitHubmikefarahCopilotcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Mike Farah
3b2423e871 Add string slicing support (#2639)
* Initial plan

* Add string slicing support to yq

Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/a8525fbb-77a7-4bb0-a3a7-b24f99ae8710

Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>

* Fix sliceStringNode signature and fix test descriptions/expressions

Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/58726b13-68ae-4f93-971f-eb70459edcf4

Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>

* Update pkg/yqlib/operator_slice.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix array slice out-of-bounds panic with very negative indices

Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/7c146762-d251-45fd-8555-2488f59fc57b

Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>

* S2-S4: tighten lexer condition, fix doc header, add Unicode example

Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/ec06083e-e20a-45d2-bf7e-4e1fa7be1073

Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>

* Fix spelling: multibyte -> multi-byte in Unicode test subdescription

Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/6e7b304b-5b52-4e89-8bad-ba22813305c7

Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
Co-authored-by: Mike Farah <mikefarah@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-06 19:29:07 +10:00
..
2022-01-23 11:35:44 +11:00
2022-11-13 11:16:01 +11:00
2023-03-16 13:39:36 +11:00
2023-11-23 11:54:25 +11:00
2024-03-05 10:13:36 +11:00
2023-03-16 13:39:36 +11:00
2022-03-29 11:08:50 +11:00
2023-03-16 13:39:36 +11:00
2025-12-20 19:11:48 +11:00
2021-12-21 15:02:07 +11:00
2023-03-18 14:51:31 +11:00
2021-12-21 15:02:07 +11:00
2022-03-29 11:08:50 +11:00
2023-03-16 13:39:36 +11:00
2021-12-21 15:02:07 +11:00
2023-03-18 14:51:31 +11:00
2025-10-12 14:32:28 +11:00
2021-12-21 15:02:07 +11:00
2021-12-21 15:02:07 +11:00
2023-03-16 13:39:36 +11:00
2021-12-21 15:02:07 +11:00
2024-08-20 15:23:06 +10:00
2021-12-21 15:02:07 +11:00
2022-02-27 11:56:46 +11:00
2021-12-21 15:02:07 +11:00
2024-03-30 13:34:36 +11:00
2024-03-30 13:34:36 +11:00
2023-03-18 14:53:36 +11:00
2024-02-09 14:54:22 +11:00
2024-03-24 10:59:29 +11:00
2021-12-21 15:02:07 +11:00
2022-10-05 20:09:53 +11:00
2022-03-10 13:50:53 +11:00
2021-12-21 15:02:07 +11:00
2024-03-30 13:29:35 +11:00
2023-03-16 13:39:36 +11:00
2022-05-24 18:18:27 +10:00
2022-02-22 14:15:31 +11:00
2022-03-29 11:08:50 +11:00
2023-02-11 05:08:20 +11:00
2025-01-22 14:36:50 +11:00
2022-02-22 14:15:31 +11:00
2025-05-03 11:27:51 +10:00
2024-02-09 10:47:09 +11:00
2023-03-16 13:39:36 +11:00
2021-12-21 15:02:07 +11:00
2023-10-05 15:15:01 +11:00
2025-07-23 13:31:25 +10:00
2021-12-21 15:02:07 +11:00
2022-04-29 12:16:57 +10:00
2021-12-21 15:02:07 +11:00