Struct grep::Grep[][src]

pub struct Grep { /* fields omitted */ }

A fast line oriented regex searcher.

Methods

impl Grep
[src]

Returns a reference to the underlying regex used by the searcher.

Important traits for Iter<'b, 's>

Returns an iterator over all matches in the given buffer.

Fills in the next line that matches in the given buffer starting at the position given.

If no match could be found, false is returned, otherwise, true is returned.

Trait Implementations

impl Clone for Grep
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Grep
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Grep

impl Sync for Grep