Top Level Namespace

Defined in:

Method Summary

Method Detail

def available_encoders : Array(EncoderSpec) #

[View source]
def encode(str, encoders) #

[View source]
def encoder_help_lines : Array(String) #

[View source]
def find(str, match : String) #

Finds the first match of a regex pattern in a string Returns a Regex::MatchData if found, nil otherwise


[View source]
def find(str, match : Regex) #

Finds the first match of a compiled regex in a string Returns a Regex::MatchData if found, nil otherwise


[View source]
def replace(str, find, replacement) #

Replaces all occurrences of a substring with a replacement string Returns a new string with all substitutions made


[View source]