Skip to content

re

relationalai.semantics.std

Regular expression function.

This module provides regex pattern matching and manipulation functions including:

  • Pattern matching
  • Finding all matches
  • String substitution
  • Match object with position and grouping support

Functions exposed by this module.

Classes exposed by this module.

RelationalAI Documentation
└──  Build With RelationalAI
    └──  Understand how PyRel works > Use advanced reasoning > Rules-based reasoning
        └──  Match text with patterns
            ├──  Understand how std.re matches work
            └──  Know current std.re limitations