SlbRegularExpression

  • Base type OctetString
  • Format 255a
  • Range 0 — 255

A regular expression of length 0 to 255. Regular expressions are typically used for matching fields in Layer 7 data streams, such as URLs or Cookies in HTTP. The following syntax is based on the file name matching algorithm commonly employed in UNIX : '*' matches zero or more characters; '?' matches exactly one character; '\' means escaped character, e.g., '\*' matches the character '*'; a bracketed range matches any single character from the range, e.g. [0-9] matches '0', '2', and '9', but not 'a'; a leading ^ in a range means don't match any in the range; '+' matches any sequence of one or more characters; '.' matches any single character; All other characters represent themselves. '\a' matches alert (ASCII 7); '\b' matches backspace (ASCII 8); '\f' matches form-feed (ASCII 12); '\n' matches newline (ASCII 10); '\r' matches carriage return (ASCII 13); '\t' matches tab (ASCII 9); '\v' matches vertical tab (ASCII 11); '\0' matches null (ASCII 0); '\\' matches backslash; '\x##' matches the ASCII character whose hexadecimal representation is ##.