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?

Parameters

NameTypeSwift / C#
patternStringpattern
langStringlang

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.