Reference · Documents and pages · lib.rs

redact_patterns Function

The patterns Schwärzen offers (Pro), as regular expressions the engine's search takes.

func redactPatterns(lang: String) -> [RedactPattern]

Parameters

NameTypeSwift / C#
langStringlang

Returns

Vec<RedactPattern>

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.