Searched refs:is_word_character (Results 1 – 3 of 3) sorted by relevance
/third_party/rust/crates/regex/regex-syntax/src/ |
D | lib.rs | 231 pub fn is_word_character(c: char) -> bool { in is_word_character() function 252 unicode::is_word_character(c) in try_is_word_character() 287 assert!(is_word_character('a'), "ASCII"); in word_char() 288 assert!(is_word_character('à'), "Latin-1"); in word_char() 289 assert!(is_word_character('β'), "Greek"); in word_char() 290 assert!(is_word_character('\u{11011}'), "Brahmi (Unicode 6.0)"); in word_char() 291 assert!(is_word_character('\u{11611}'), "Modi (Unicode 7.0)"); in word_char() 292 assert!(is_word_character('\u{11711}'), "Ahom (Unicode 8.0)"); in word_char() 293 assert!(is_word_character('\u{17828}'), "Tangut (Unicode 9.0)"); in word_char() 294 assert!(is_word_character('\u{1B1B1}'), "Nushu (Unicode 10.0)"); in word_char() [all …]
|
D | unicode.rs | 400 pub fn is_word_character(c: char) -> result::Result<bool, UnicodeWordError> { in is_word_character() function
|
/third_party/rust/crates/regex/src/ |
D | input.rs | 380 char::from_u32(self.0).map_or(false, regex_syntax::is_word_character) in is_word_char()
|