abstract datatype: cp()
part() = {Start::non_neg_integer(), Length::integer()}
END: Remove when OTP 17 not officially supported
| alpha/2 | Parse a list of case-insensitive alpha characters. |
| char_to_lower/1 | Convert [A-Z] characters to lowercase. |
| char_to_upper/1 | Convert [a-z] characters to uppercase. |
| digits/1 | Parse a list of digits as a non negative integer. |
| digits/2 | |
| digits/3 | |
| join/2 | |
| list/2 | Parse a list of the given type. |
| nonempty_list/2 | Parse a non-empty list of the given type. |
| parameterized_tokens/1 | Parse a non empty list of tokens followed with optional parameters. |
| params/2 | Parse a list of parameters (a=b;c=d). |
| quoted_string/2 | |
| split/3 | |
| to_binary/1 | |
| to_hex/1 | |
| to_lower/1 | Convert a binary string to lowercase. |
| to_upper/1 | |
| token/2 | Parse a token. |
| token_ci/2 | Parse a case-insensitive token. |
| trim/1 | |
| whitespace/2 | Skip whitespace. |
| word/2 | Parse either a token or a quoted string. |
alpha(Data::binary(), Fun::function()) -> any()
Parse a list of case-insensitive alpha characters.
Changes all characters to lowercase.char_to_lower(Ch::char()) -> char()
Convert [A-Z] characters to lowercase.
char_to_upper(Ch::char()) -> char()
Convert [a-z] characters to uppercase.
digits(Data::binary()) -> non_neg_integer() | {error, badarg}
Parse a list of digits as a non negative integer.
digits(Data::binary(), Fun::function()) -> any()
digits(Data::binary(), Fun::function(), Acc::non_neg_integer()) -> any()
join(L, Separator) -> any()
list(Data::binary(), Fun::function()) -> list() | {error, badarg}
Parse a list of the given type.
nonempty_list(Data::binary(), Fun::function()) -> [any(), ...] | {error, badarg}
Parse a non-empty list of the given type.
parameterized_tokens(Data::binary()) -> any()
Parse a non empty list of tokens followed with optional parameters.
params(Data::binary(), Fun::function()) -> any()
Parse a list of parameters (a=b;c=d).
quoted_string(X1::binary(), Fun::function()) -> any()
split(Subject, Pattern, Options) -> Parts
Subject = binary()Pattern = binary() | [binary()] | cp()Options = [Option]Option = {scope, part()} | trim | global | trim_allParts = [binary()]
to_binary(V) -> any()
to_hex(Bin) -> any()
to_lower(L::binary() | atom() | list()) -> binary()
Convert a binary string to lowercase.
to_upper(U::binary() | atom() | list()) -> binary()
token(Data::binary(), Fun::function()) -> any()
Parse a token.
token_ci(Data::binary(), Fun::function()) -> any()
Parse a case-insensitive token.
Changes all characters to lowercase.trim(Data::binary()) -> binary()
whitespace(Data::binary(), Fun::function()) -> any()
Skip whitespace.
word(Data::binary(), Fun::function()) -> any()
Parse either a token or a quoted string.
Generated by EDoc