mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-02-20 15:19:35 +00:00
global-functions: $Grep: add comment on :deserialize
This commit is contained in:
parent
68ed97205c
commit
0ba5c9f63e
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue