From 0ba5c9f63e2bb9c4f65b161580b3b9d475d72650 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 17 Feb 2026 08:16:16 +0100 Subject: [PATCH] global-functions: $Grep: add comment on :deserialize --- global-functions.rsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/global-functions.rsc b/global-functions.rsc index 45bb24d3..310ff99f 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -726,6 +726,8 @@ } :do { + # Do *NOT* try :deserialize here to split lines. It can fail with + # scripts, and it *does* fail with global-functions! :local Line [ :pick $Input 0 [ :find $Input "\n" ] ]; :if ([ :typeof [ :find $Line $Pattern ] ] = "num") do={ :return $Line;