regex

Applies operations according to regular expressions

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──regex

Factory details

Authors: – Mathieu Duponchelle

Classification:Text/Filter

Rank – none

Plugin – regex

Package – gst-plugin-regex

Pad Templates

sink

text/x-raw:
         format: utf8

Presencealways

Directionsink

Object typeGstPad


src

text/x-raw:
         format: utf8

Presencealways

Directionsrc

Object typeGstPad


Properties

commands

“commands” GstValueArray *

A set of commands to apply on input text

Flags : Read / Write


multi-buffer-mode

“multi-buffer-mode” GstRegExMultiBufferMode *

How to accumulate input when it partially matches commands.

When the element processes single words in its input buffers, it cannot match multi word patterns when multi-buffer-mode is disabled.

When it is set to compress however, it will detect whether the word is a partial match for one of the commands, and accumulate it into a (space-separated) temporary buffer. Once none of the commands is a partial match anymore, the temporary buffer is output, with its timestamp / duration set to that of the last processed input buffer.

Flags : Read / Write

Default value : disabled (0)

Since : plugins-rs-0.16.0


Named constants

GstRegExMultiBufferMode

Members

disabled (0) – Disabled
compress (1) – Compress

The results of the search are