mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2026-02-22 16:19:36 +00:00
global-functions: $Grep: add comment on :deserialize
This commit is contained in:
parent
d8632ad370
commit
93b31a379b
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