Expand description
Functions for parsing and applying version and URL mangling expressions.
Debian watch files use sed-style expressions for transforming versions and URLs.
Structs§
- Mangle
Expr - A parsed mangling expression
Enums§
- Mangle
Error - Error type for mangling expression parsing
- Mangle
Expr Kind - Type of mangling expression
Functions§
- apply_
mangle - Apply a mangling expression to a string
- parse_
mangle_ expr - Parse a mangling expression
- parse_
subst_ expr - Parse a substitution expression (s/pattern/replacement/flags)
- parse_
transl_ expr - Parse a translation expression (tr/pattern/replacement/flags or y/pattern/replacement/flags)