Searched refs:take_while_m_n (Results 1 – 7 of 7) sorted by relevance
/third_party/rust/crates/nom/tests/ |
D | css.rs | 1 use nom::bytes::complete::{tag, take_while_m_n}; 22 map_res(take_while_m_n(2, 2, is_hex_digit), from_hex)(input) in hex_primary()
|
/third_party/rust/crates/nom/src/bytes/ |
D | tests.rs | 393 fn take_while_m_n() { 394 use crate::bytes::streaming::take_while_m_n; 397 take_while_m_n(2, 4, is_alphabetic)(i) 526 use crate::bytes::streaming::take_while_m_n; 529 take_while_m_n(1, 1, |c| c == 'A' || c == '')(i) 537 use crate::bytes::streaming::take_while_m_n; 540 take_while_m_n(1, 1, |c: char| c.is_alphabetic())(i)
|
D | complete.rs | 249 pub fn take_while_m_n<F, Input, Error: ParseError<Input>>( in take_while_m_n() function 714 super::take_while_m_n(1, 4, |c: char| c.is_alphabetic())("øn"); in complete_take_while_m_n_utf8_all_matching() 721 super::take_while_m_n(1, 1, |c: char| c.is_alphabetic())("øn"); in complete_take_while_m_n_utf8_all_matching_substring()
|
D | streaming.rs | 260 pub fn take_while_m_n<F, Input, Error: ParseError<Input>>( in take_while_m_n() function
|
/third_party/rust/crates/nom/examples/ |
D | string.rs | 15 use nom::bytes::streaming::{is_not, take_while_m_n}; 36 let parse_hex = take_while_m_n(1, 6, |c: char| c.is_ascii_hexdigit()); in parse_unicode()
|
/third_party/rust/crates/nom/ |
D | README.md | 47 bytes::complete::{tag, take_while_m_n}, 69 take_while_m_n(2, 2, is_hex_digit),
|
D | CHANGELOG.md | 677 - the `take_while_m_n!` combinator will match a specified number of characters
|