What is Regex Pattern Matching?
Using patterns to find specific data formats.
Short answer
Regex pattern matching is the technique of using regular expressions to find strings that follow a known format, like an AWS access key or a credit card number. It is the foundation of secrets detection, and LeakSnitch publishes every one of its patterns publicly.
In depth
Regex alone cannot solve detection, because formats overlap with innocent text. LeakSnitch pairs each pattern with scoring, context signals, and checksums, then displays the result with a severity level the user can understand at a glance.
Publicly published regexes are the transparency cornerstone. A security engineer can read the exact AWS key pattern, test it, and verify the detection quality before LeakSnitch ever ships to the team.
Frequently asked questions
Why publish the regex patterns publicly?
Because hiding rules is not a real defense, and auditors deserve to verify claims. The competitive advantage is the engine, context, and scoring, not secret regexes. You can read every pattern in real time on the patterns page.
Related terms
Stop AI leaks on the device, not in the cloud.
Install LeakSnitch in under 30 seconds and protect every prompt sent to ChatGPT, Claude, Gemini, and 25+ AI tools. Free for individuals.