global-functions: $Grep: add comment on :deserialize

This commit is contained in:
Christian Hesse 2026-02-17 08:16:16 +01:00
parent 68ed97205c
commit 0ba5c9f63e

View file

@ -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;