class Cadmium::RegexTokenizer

Direct Known Subclasses

Defined in:

cadmium/tokenizer/regex_tokenizer.cr

Constructors

Instance Method Summary

Instance methods inherited from class Cadmium::Tokenizer

tokenize(string : String) : Array(String) tokenize, trim(arr) trim

Constructor Detail

def self.new(pattern : Regex, *, gaps = nil, discard_empty = nil) #

[View source]

Instance Method Detail

def tokenize(string : String) : Array(String) #

[View source]