Struct regex::exec::ExecNoSyncStr[][src]

pub struct ExecNoSyncStr<'c>(ExecNoSync<'c>);

ExecNoSyncStr is like ExecNoSync, but matches on &str instead of &u8.

Methods

impl<'c> ExecNoSyncStr<'c>
[src]

Trait Implementations

impl<'c> RegularExpression for ExecNoSyncStr<'c>
[src]

The type of the haystack.

The number of capture slots in the compiled regular expression. This is always two times the number of capture groups (two slots per group). Read more

Returns the position of the next character after i. Read more

Returns the location of the shortest match.

Returns whether the regex matches the text given.

Returns the leftmost-first match location if one exists.

Returns the leftmost-first match location if one exists, and also fills in any matching capture slot locations. Read more

Allocates fresh space for all capturing groups in this regex.

Important traits for Matches<'t, R>

Returns an iterator over all non-overlapping successive leftmost-first matches. Read more

Important traits for CaptureMatches<'t, R>

Returns an iterator over all non-overlapping successive leftmost-first matches with captures. Read more

Auto Trait Implementations

impl<'c> !Send for ExecNoSyncStr<'c>

impl<'c> !Sync for ExecNoSyncStr<'c>