Crate webextension_pattern[][src]

webextension_pattern implements support for matching URLs with a powerful and intuitive pattern. It's simpler than regular expressions, and specifically tailored to URL matching. It's the format used by Mozilla's WebExtensions for matching URLs, as well as Google Chrome, and you can find their documentation here:

This crate aims to be compatible with Mozilla's implementation, specifically.

See Pattern for information about the format.

Structs

Pattern

A parsed WebExtensions pattern

Enums

Error

Error type for parsing a Pattern