class

Fuzzy::Pattern

Inherits Reference < Object

Constructors

new(pattern : String)
Source

Instance methods

+(string : String)

Concatenation

Source
+(other : Pattern)

Concatenation

Source
==(other : self)

Two Patterns are equal if their @patterns match

Source
===(string : String)

Case equality

Source
===(pattern : Pattern)

Case equality

Source
===(object)

Case equality

Source
=~(string : String)
Source
clone

Returns a copy of self with all instance variables cloned.

Source
hash(hasher)

See Object#hash(hasher)

Source
match(string : String)

Matches a regular expression against String string Returns an Array with matching indices if string matched, otherwise nil.

Source
match?(string : String)

Matches a regular expression against String string returns true or false.

Source
pattern
Source
to_s(io : IO)

Returns the Pattern as a String

Source