File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -127,14 +127,14 @@ The following parsers could be found on [docs.rs number section](https://docs.rs
127
127
128
128
Use these functions with a combinator like ` take_while ` :
129
129
130
- - [ ` is_alphabetic ` ] ( https://docs.rs/nom/latest/nom/character/fn.is_alphabetic .html ) : Tests if byte is ASCII alphabetic: ` [A-Za-z] `
131
- - [ ` is_alphanumeric ` ] ( https://docs.rs/nom/latest/nom/character/fn.is_alphanumeric .html ) : Tests if byte is ASCII alphanumeric: ` [A-Za-z0-9] `
132
- - [ ` is_digit ` ] ( https://docs.rs/nom/latest/nom/character/fn.is_digit .html ) : Tests if byte is ASCII digit: ` [0-9] `
133
- - [ ` is_hex_digit ` ] ( https://docs.rs/nom/latest/nom/character/fn.is_hex_digit .html ) : Tests if byte is ASCII hex digit: ` [0-9A-Fa-f] `
134
- - [ ` is_oct_digit ` ] ( https://docs.rs/nom/latest/nom/character/fn.is_oct_digit .html ) : Tests if byte is ASCII octal digit: ` [0-7] `
130
+ - [ ` AsChar::is_alpha ` ] ( https://docs.rs/nom/latest/nom/trait.AsChar .html#tymethod.is_alpha ) : Tests if byte is ASCII alphabetic: ` [A-Za-z] `
131
+ - [ ` AsChar::is_alphanum ` ] ( https://docs.rs/nom/latest/nom/trait.AsChar .html#tymethod.is_alphanum ) : Tests if byte is ASCII alphanumeric: ` [A-Za-z0-9] `
132
+ - [ ` AsChar::is_dec_digit ` ] ( https://docs.rs/nom/latest/nom/trait.AsChar .html#tymethod.is_dec_digit ) : Tests if byte is ASCII digit: ` [0-9] `
133
+ - [ ` AsChar:: is_hex_digit` ] ( https://docs.rs/nom/latest/nom/trait.AsChar .html#tymethod.is_hex_digit ) : Tests if byte is ASCII hex digit: ` [0-9A-Fa-f] `
134
+ - [ ` AsChar:: is_oct_digit` ] ( https://docs.rs/nom/latest/nom/trait.AsChar .html#tymethod.is_oct_digit ) : Tests if byte is ASCII octal digit: ` [0-7] `
135
135
- [ ` is_bin_digit ` ] ( https://docs.rs/nom/latest/nom/character/fn.is_bin_digit.html ) : Tests if byte is ASCII binary digit: ` [0-1] `
136
- - [ ` is_space ` ] ( https://docs.rs/nom/latest/nom/character/fn.is_space .html ) : Tests if byte is ASCII space or tab: ` [ \t] `
137
- - [ ` is_newline ` ] ( https://docs.rs/nom/latest/nom/character/fn.is_newline .html ) : Tests if byte is ASCII newline: ` [\n] `
136
+ - [ ` AsChar:: is_space` ] ( https://docs.rs/nom/latest/nom/trait.AsChar .html#tymethod.is_space ) : Tests if byte is ASCII space or tab: ` [ \t] `
137
+ - [ ` AsChar:: is_newline` ] ( https://docs.rs/nom/latest/nom/trait.AsChar .html#tymethod.is_newline ) : Tests if byte is ASCII newline: ` [\n] `
138
138
139
139
Alternatively there are ready to use functions:
140
140
You can’t perform that action at this time.
0 commit comments