Reasons for having this feature and use cases are the same for which queries exist in the first place - to limit the amout of memory consumed by API clients, and allow RouterOS to minimize network traffic.
To keep consistency with other operations, using a syntax like
Code: Select all
?~name=pattern
[edit]
Well, I was told that the following syntax works for making print filter by regex in API:
Code: Select all
~name~"pattern"
[edit]