MCPcopy Create free account
hub / github.com/andreiverse/gorilla / tokenize_string_repeat

Function tokenize_string_repeat

src/pattern.rs:278–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

276
277 #[test]
278 fn tokenize_string_repeat() {
279 let tokens = tokenize_format_string("hello{0-9}world");
280 assert_eq!(tokens[1], Token::CharRange('0' as u32, '9' as u32))
281 }
282
283 #[test]
284 fn tokenize_string_string() {

Callers

nothing calls this directly

Calls 1

tokenize_format_stringFunction · 0.85

Tested by

no test coverage detected