Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Canop/lazy-regex
/ functions
Functions
54 in github.com/Canop/lazy-regex
⨍
Functions
54
◇
Types & classes
9
↓ 15 callers
Method
statick
(&self)
src/proc_macros/regex_code.rs:81
↓ 8 callers
Function
process_with_value
(input: TokenStream, as_bytes: bool, f: F)
src/proc_macros/mod.rs:24
↓ 4 callers
Method
captures_len
(&self)
src/proc_macros/regex_code.rs:100
↓ 4 callers
Method
named_groups
(&self)
src/proc_macros/regex_code.rs:106
↓ 4 callers
Function
process
The following `process*` functions are convenience funcs to reduce boilerplate in macro implementations below.
src/proc_macros/mod.rs:13
↓ 2 callers
Function
bytes_replacen
common implementation of `bytes_regex_replace` and `bytes_regex_replace_all`
src/proc_macros/mod.rs:346
↓ 2 callers
Method
lazy_static
(&self)
src/proc_macros/regex_code.rs:92
↓ 2 callers
Function
replacen
common implementation of `regex_replace` and `regex_replace_all`
src/proc_macros/mod.rs:304
↓ 1 callers
Function
example_builds
()
examples/regexes/src/main.rs:5
↓ 1 callers
Function
example_captures
()
examples/regexes/src/main.rs:56
↓ 1 callers
Function
example_is_match
()
examples/regexes/src/main.rs:46
↓ 1 callers
Function
example_using_shared_static
()
examples/regexes/src/main.rs:51
↓ 1 callers
Function
examples_replace_all
()
examples/regexes/src/main.rs:67
Function
bytes_lazy_regex
(input: TokenStream)
src/proc_macros/mod.rs:97
Function
bytes_regex
(input: TokenStream)
src/proc_macros/mod.rs:66
Function
bytes_regex_captures
(input: TokenStream)
src/proc_macros/mod.rs:244
Function
bytes_regex_captures_iter
(input: TokenStream)
src/proc_macros/mod.rs:293
Function
bytes_regex_find
(input: TokenStream)
src/proc_macros/mod.rs:175
Function
bytes_regex_if
(input: TokenStream)
src/proc_macros/mod.rs:525
Function
bytes_regex_is_match
(input: TokenStream)
src/proc_macros/mod.rs:131
Function
bytes_regex_replace
(input: TokenStream)
src/proc_macros/mod.rs:430
Function
bytes_regex_replace_all
(input: TokenStream)
src/proc_macros/mod.rs:476
Function
bytes_regex_switch
(input: TokenStream)
src/proc_macros/mod.rs:657
Function
bytes_remove_all_matches
( rex: ®ex::bytes::Regex, text: &'s [u8], )
src/remove.rs:127
Function
bytes_remove_match
( rex: ®ex::bytes::Regex, text: &'s [u8], )
src/remove.rs:36
Function
extract_grey_level
(s: &str)
tests/regex_if.rs:10
Method
from_lit_str
(lit_str: LitStr, mut is_bytes: bool)
src/proc_macros/regex_code.rs:24
Method
from_token_stream
(token_stream: TokenStream, is_bytes: bool)
src/proc_macros/regex_code.rs:21
Function
lazy_regex
(input: TokenStream)
src/proc_macros/mod.rs:82
Function
main
()
examples/regexes/src/main.rs:95
Method
parse
(input: ParseStream<'_>)
src/proc_macros/args.rs:22
Function
read
(s: &str)
tests/regex_switch.rs:14
Function
regex
(input: TokenStream)
src/proc_macros/mod.rs:53
Function
regex_captures
(input: TokenStream)
src/proc_macros/mod.rs:207
Function
regex_captures_iter
(input: TokenStream)
src/proc_macros/mod.rs:281
Function
regex_find
(input: TokenStream)
src/proc_macros/mod.rs:152
Function
regex_if
(input: TokenStream)
src/proc_macros/mod.rs:493
Function
regex_is_match
(input: TokenStream)
src/proc_macros/mod.rs:111
Function
regex_replace
(input: TokenStream)
src/proc_macros/mod.rs:406
Function
regex_replace_all
(input: TokenStream)
src/proc_macros/mod.rs:453
Function
regex_switch
(input: TokenStream)
src/proc_macros/mod.rs:587
Function
remove_all_matches
( rex: ®ex::Regex, text: &'s str, )
src/remove.rs:60
Function
remove_match
( rex: ®ex::Regex, text: &'s str, )
src/remove.rs:11
Function
replace_with_mut_closure
()
tests/replace.rs:5
Function
test_bytes_regex_if
()
tests/regex_if.rs:36
Function
test_bytes_regex_remove
()
tests/remove.rs:26
Function
test_bytes_regex_remove_all
()
tests/remove.rs:93
Function
test_bytes_regex_switch
()
tests/regex_switch.rs:60
Function
test_regex_if
()
tests/regex_if.rs:9
Function
test_regex_if_with_error_handling
()
tests/regex_if.rs:24
Function
test_regex_remove
()
tests/remove.rs:6
Function
test_regex_remove_all
()
tests/remove.rs:37
Function
test_regex_switch
()
tests/regex_switch.rs:7
Function
test_regex_switch_with_error_handling
()
tests/regex_switch.rs:35