# Package groovy.util.regex

package groovy.util.regex

- Related Packages
  Package
  Description
  groovy.util
  Various Groovy utilities for working with nodes, builders, logging, and other things.
  groovy.util.function
  Classes for functional interfaces.
  groovy.util.logging
  Logging framework integration via AST transformations.
- Class
  Description
  BalancedGroup
  A node in the tree of balanced groups extracted by `BalancedGroup.find(java.lang.CharSequence, java.lang.String, java.lang.String)`, also exposed on `CharSequence` via `StringGroovyMethods.findBalancedGroups(CharSequence, String, String)`.
  BalancedGroup.MatchOptions
  Options controlling balanced-group matching.
  RegexGuard
  Deadline-guarded regular expression evaluation, protecting against Regular Expression Denial of Service (ReDoS) when patterns or inputs come from untrusted sources.
  RegexTimeoutException
  Thrown when a regular expression evaluation guarded by `RegexGuard` exceeds its configured deadline.