Skip to main content

regex_calc

Function regex_calc 

Source
pub fn regex_calc(query: &str) -> String
Expand description

Test, explain, and inspect regex patterns — instant, no model, no cloud.

Commands: test <pattern> <text> — test if pattern matches; show all matches + capture groups match <pattern> <text> — alias for test explain <pattern> — describe what the pattern does in plain English named <pattern> <text> — show named capture groups split <pattern> <text> — split text by pattern, show parts replace <pattern> <repl> <text> — replace all matches