Merge remote-tracking branch 'XueSongTap/master'

* XueSongTap/master:
  Add baseline for find_first test, update comments, and reorder function imports
  Add find_first string function
This commit is contained in:
Tim Wojtulewicz 2025-05-05 13:40:20 -07:00
commit 0393e4b84a
8 changed files with 58 additions and 6 deletions

View file

@ -263,6 +263,7 @@ static std::unordered_map<std::string, unsigned int> func_attrs = {
{"find_all", ATTR_FOLDABLE},
{"find_all_ordered", ATTR_FOLDABLE},
{"find_entropy", ATTR_FOLDABLE},
{"find_first", ATTR_FOLDABLE},
{"find_in_zeekpath", ATTR_IDEMPOTENT}, // can error
{"find_last", ATTR_FOLDABLE},
{"find_str", ATTR_FOLDABLE},