Regular Expressions

About the use of Regular Expressions (Regex) across Curiefense

Regular expressions are used across Curiefense in each and every mechanism, from Global Filters to Content Filter Profiles and other mechanisms in-between (Flow Control, Rate Limiting, Content Filter Rules, Security Policies, and so on).

Curiefense is implemented in Rust, so Rust's default regex is a natural fit for the project. Therefore, Regex expressions throughout Curiefense should be compliance with this library.

There is one exception to this: Content Filter Rules (also known as signatures). Here Curiefense uses Hyperscan: a high-performance open source library that allows simultaneous matching of large numbers of regular expressions across streams of data.

Anywhere in the UI where Regex is acceptable, the icon of code </> is added to the left of the input box.

Last updated