Skip to main content

encode_patterns_custom

Function encode_patterns_custom 

Source
pub fn encode_patterns_custom(patterns: &[String]) -> String
Expand description

The custom-pattern registry payload: the patterns joined with , (the reference ",".join(custom_patterns)).

A pattern containing a comma would corrupt this payload; the pattern-safety validation is the only guard, exactly as in the reference.