kindwolf.org Git repositories pecoregex / master document / v1 / examples / execute.out.yaml
master

Tree @master (Download .tar.gz)

execute.out.yaml @masterraw · history · blame

patterns:
- compile: true
  error:
    message: null
    offset: null
  execute:
  - captures: {}
    match: false
    subject: Goodbye!
  - captures:
      by_index:
      - Hello!
      - '!'
      by_name:
        tail: '!'
    match: true
    options:
    - PCRE_NO_START_OPTIMISE
    subject: Hello!
  value: ^(?i)hello(?<tail>.*)