Struct verex::Verex [] [src]

pub struct Verex { /* fields omitted */ }

The struct used for building verbal expression objects

Methods

impl Verex
[src]

Standard Constructor

Create a Verex object from a String

Create a Verex object from a &str

Compile the Verex to a Regex and return the result

Return the raw regex string contained in the Verex

Compile the Verex to a Regex and return the result

Return the raw regex string contained in the Verex

Return the raw regex string contained in the Verex

Any of the given characters

See any()

Any character zero or more times

Any character zero or more times except the provided characters

A line break!

Find a specific string and capture it (will be escaped)

Find a sub-expression and capture it (won't be escaped)

Add the token for matching digits

Add a token for matching the end of a line

Find a specific string that will be escaped

Find an expression (does not get escaped)

A line break!

Any string either one or zero times

Any string either one or zero times

Either match the sub-expression before or after this

Either match the sub-expression before or the provided value

Either match the sub-expression before or the provided sub-expression

A range of characters e.g. [A-Z] Usage example: verex.range(vec![('a', 'z'),('A', 'Z')])

Repeat the previous item n times

Repeat the previous item n to m times

Repeat the previous item once or more times

Repeat the previous item n times

Repeat the previous item zero or more times

Replace a substring

Toggle whether ^ and $ match line start and end or string start and end

Any character at least one time

Any character at least one time except for these characters

Add a token for the start of a line

Add a token for a tab

To use find "in the sentence" and make the chaining flow better

Toggle whether to match case-sensitively or not

Any alphanumeric characters

Trait Implementations

impl Debug for Verex
[src]

Formats the value using the given formatter.

impl Clone for Verex
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Verex
[src]

Formats the value using the given formatter. Read more

impl Eq for Verex
[src]

impl FromStr for Verex
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl PartialEq for Verex
[src]

Equality comparison is based on the original string. It is possible that different verbal expressions have the same matching behavior, but are still compared unequal.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.