Struct grok::Pattern [] [src]

pub struct Pattern { /* fields omitted */ }

The Pattern represents a compiled regex, ready to be matched against arbitrary text.

Methods

impl Pattern
[src]

[src]

Creates a new pattern from a raw regex string and an alias map to identify the fields properly.

[src]

Matches this compiled Pattern against the text and returns the matches.

Trait Implementations

impl Debug for Pattern
[src]

[src]

Formats the value using the given formatter.