[
https://bro-tracker.atlassian.net/browse/BIT-1438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=21403#comment-21403
]
Robin Sommer commented on BIT-1438:
-----------------------------------
split_string_all() was introduced with 2.4, 2.3 doesn't have it.
> Code example from the documentation fails with "unknown identifier" error
> -------------------------------------------------------------------------
>
> Key: BIT-1438
> URL: https://bro-tracker.atlassian.net/browse/BIT-1438
> Project: Bro Issue Tracker
> Issue Type: Problem
> Components: Bro, Documentation
> Affects Versions: 2.3
> Environment: ArchLinux
> Reporter: earl eiland
> Labels: event, script
>
> event protocol_confirmation(c: connection, atype: Analyzer::Tag, aid: count)
> {
> local service_id = split_string_all("a-b--cd", /(\-)+/);
> }
> Executing this script fails with "unknown identifier split_string_all, at or
> near “split_string_all””.
> The split_string_all command is taken directly from the documentation:
> https://www.bro.org/sphinx/scripts/base/bif/strings.bif.bro.html#id-split_string_all
--
This message was sent by Atlassian JIRA
(v6.5-OD-08-001#65007)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev