neutralts

Module utils

Source

Functionsยง

  • Escapes special characters in a given input string.
  • Extract same level blocks positions.
  • Recursively filter a Value with the function escape_chars
  • Recursively filters the keys (names) of a Value with the function escape_chars
  • find_bytes ๐Ÿ”’
  • Finds the position of a tag in the text.
  • Finds the position of the first occurrence of BIF_CODE_B in the source string, but only when it is not inside any nested brackets.
  • Retrieves a value from a JSON schema using a specified key.
  • Checks if the value associated with a key in the schema is considered an array.
  • Checks if the value associated with a key in the schema is considered a boolean true.
  • Checks if the value associated with a key in the schema is considered defined.
  • Checks if the value associated with a key in the schema is considered empty.
  • Merges two JSON schemas represented as serde_json::Value.
  • Removes comments from the template source.
  • Removes a prefix and suffix from a string slice.
  • Unescapes HTML entities in a given input string.
  • Performs a wildcard matching between a text and a pattern.