base/utils/numbers.bro

Source File:/scripts/base/utils/numbers.bro

Summary

Functions

extract_count: function Extract an integer from a string.

Detailed Interface

Functions

extract_count
Type:function (s: string, get_first: bool &default = T &optional) : count

Extract an integer from a string.

S:The string to search for a number.
Get_first:Provide F if you would like the last number found.
Returns:The request integer from the given string or 0 if no integer was found.

Previous Page

base/utils/hash_hrw.bro

Copyright 2016, The Bro Project. Last updated on January 10, 2019. Created using Sphinx 1.7.5.