# Package groovy.util.regex

- Class Summary
  Class | Description
  --- | ---
  BalancedGroup | A node in the tree of balanced groups extracted by find, also exposed on CharSequence via StringGroovyMethods.findBalancedGroups.
  RegexGuard | Deadline-guarded regular expression evaluation, protecting against Regular Expression Denial of Service (ReDoS) when patterns or inputs come from untrusted sources.

- Exception Summary
  Exception | Description
  --- | ---
  RegexTimeoutException | Thrown when a regular expression evaluation guarded by RegexGuard exceeds its configured deadline.