sub
relationalai.semantics.std.re
sub(regex: StringValue, repl: StringValue, value: StringValue)Replace occurrences of the regex in the value with the replacement string.
.. note:: This function is not yet implemented.
Parameters
Section titled “Parameters”
(regexStringValue) - The regular expression pattern.
(replStringValue) - The replacement string.
(valueStringValue) - The string value to perform substitution on.
Returns
Section titled “Returns”Expression- AnExpressioncomputing the substituted string. ReturnsString.
Referenced By
Section titled “Referenced By”RelationalAI Documentation
└── Build With RelationalAI
└── Understand how PyRel works > Use advanced reasoning > Rules-based reasoning
└── Match text with patterns
└── Know current std.re limitations