Home
last modified time | relevance | path

Searched refs:take_while_m_n (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/nom/tests/
Dcss.rs1 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/
Dtests.rs393 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)
Dcomplete.rs249 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()
Dstreaming.rs260 pub fn take_while_m_n<F, Input, Error: ParseError<Input>>( in take_while_m_n() function
/third_party/rust/crates/nom/examples/
Dstring.rs15 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/
DREADME.md47 bytes::complete::{tag, take_while_m_n},
69 take_while_m_n(2, 2, is_hex_digit),
DCHANGELOG.md677 - the `take_while_m_n!` combinator will match a specified number of characters