Reference · Rules and helpers · rules.rs
redact_pattern_error Function
Why an own pattern (Pro) cannot be searched for, in words; None when it can (an empty one is simply not searched). The engine's own check, so the app's "Ungültiges Muster" agrees with what the search does.
func redactPatternError(pattern: String, lang: String) -> String?public static string? RedactPatternError(string pattern, string lang)pub fn redact_pattern_error(pattern: String, lang: String) -> Option<String>Parameters
| Name | Type | Swift / C# |
|---|---|---|
pattern | String | pattern |
lang | String | lang |
Returns
Option<String>
Errors
Does not throw.
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.