Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_uni_word
Function
is_uni_word
crates/sre_engine/src/string.rs:450–452 ·
view source on GitHub ↗
(ch: u32)
Source
from the content-addressed store, hash-verified
448
}
449
#[inline]
450
pub(crate) fn is_uni_word(ch: u32) -> bool {
451
ch ==
'_'
as u32 || is_uni_alnum(ch)
452
}
453
#[inline]
454
pub fn lower_unicode(ch: u32) -> u32 {
455
// TODO: check with cpython
Callers
1
category
Function · 0.85
Calls
1
is_uni_alnum
Function · 0.85
Tested by
no test coverage detected