text.regex

type: meya.text.trigger.regex
class: RegexTrigger
path: /meya/text/trigger/regex/regex.py
signature: regex

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

bot

BotRef

null

Bot used to evaluate this trigger

action

TriggerActionEntry
ActionComponentSpec

Action executed if this trigger matches

when

typing.Any

Custom condition for when to evaluate this trigger

confidence

Real

null

Custom confidence override value for trigger matches

regex

str

ignorecase

bool

null

Examples

Basic

triggers:
  - when: ANY
    regex: STRING
steps:
  - say: STRING

Full

type: meya.text.trigger.regex
spec: '?'
bot: element.name
action: COMPONENT
when: ANY
confidence: 123
regex: STRING
ignorecase: false