Overview

Flow and Character Operations

Operations are split into two different groups: Flow operations and character operations. Flow operations do not consume any characters from the input stream, they are executed immediately. On the other hand, character operations require a character from the input stream.

Flow Operations

Character Operations

None

Char

Split

Sequence

Jump

Category

Match

Class

Success

Any

Failure

Anchor

Capture

Counter

Maximum

Minimum

Modifier

Modifiers change the behaviour of an operation.

Not

Negates the meaning of the operation.

CI

Uses a case-folding comparison.

Start

Selects the start behaviour (e.g. start capturing).

Stop

Selects the stop behaviour (e.g. stop capturing).

Assert

Marks a zero-width operation that only tests the current character, without consuming it.

The following table shows all operations and valid modifiers.

Operation

Not

CI

Assert

Start

Stop

None

Split

Jump

Match

Success

Failure

Anchor

Capture

Counter

Maximum

Minimum

Char

Sequence

Category

Class

Any