MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / is_single

Function is_single

std/re/src/main/matcher.rs:263–265  ·  view source on GitHub ↗
(node: &Node)

Source from the content-addressed store, hash-verified

261}
262
263fn is_single(node: &Node) -> bool {
264 matches!(node, Node::Char(_) | Node::AnyChar | Node::Class { .. })
265}
266
267fn is_word(c: char) -> bool {
268 c.is_alphanumeric() || c == '_'

Callers 1

repeatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected