Struct posix_regex::matcher::PosixRegex[][src]

pub struct PosixRegex<'a> { /* fields omitted */ }

A regex matcher, ready to match stuff

Methods

impl<'a> PosixRegex<'a>
[src]

Create a new matcher instance from the specified alternations. This should probably not be used and instead an instance should be obtained from PosixRegexBuilder, which also compiles a string into regex.

Chainable function to enable/disable case insensitivity. Default: false. When enabled, single characters match both their upper and lowercase representations.

Chainable function to enable/disable newline mode. Default: false. When enabled, ^ and $ match newlines as well as start/end. This behavior overrides both no_start and no_end.

Chainable function to enable/disable no_start mode. Default: false. When enabled, ^ doesn't actually match the start of a string.

Chainable function to enable/disable no_start mode. Default: false. When enabled, $ doesn't actually match the end of a string.

Match the string starting at the current position. This does not find substrings.

Match any substrings in the string, but optionally no more than max

Trait Implementations

impl<'a> Clone for PosixRegex<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for PosixRegex<'a>

impl<'a> Sync for PosixRegex<'a>