# fancy-regex

Rust library for regular expressions using "fancy" features like look-around and backreferences. Has a mode which aims to be compatible with Oniguruma syntax.

Canonical page: https://www.reposhelf.co.uk/projects/github/fancy-regex/fancy-regex.html

- Project ID: fancy-regex/fancy-regex
- Source: GitHub
- Original project: https://github.com/fancy-regex/fancy-regex
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Rust
- Licence: MIT
- Repository availability checked: 2026-11-05T07:14:44.490Z
- Demo page loaded: 2026-11-06T01:04:49.825Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> A Rust library for compiling and matching regular expressions. It uses a hybrid regex implementation designed to support a relatively rich set of features. In particular, it uses backtracking to implement "fancy" features such as look-around and backtracking, which are not supported in purely NFA-based implementations \(exemplified by RE2, and implemented in Rust in the regex crate\).

> Try it online in the fancy-regex playground - test and explore regular expressions with advanced features in your browser.

> A goal is to be as efficient as possible. For a given regex, the NFA implementation has asymptotic running time linear in the length of the input, while in the general case a backtracking implementation has exponential blowup. An example given in Static Analysis for Regular Expression Exponential Runtime via Substructural Logics is:



## Author-documented requirements and audience

> A Rust library for compiling and matching regular expressions. It uses a hybrid regex implementation designed to support a relatively rich set of features. In particular, it uses backtracking to implement "fancy" features such as look-around and backtracking, which are not supported in purely NFA-based implementations \(exemplified by RE2, and implemented in Rust in the regex crate\).





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/fancy-regex/fancy-regex/blob/main/README.md

Extraction checked: 2026-10-20T21:35:48.225Z

Last recorded source update: 2026-11-03T19:06:50.000Z

Saved release: 0.19.2 — 2026-09-13T02:30:09.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=fancy-regex%2Ffancy-regex). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
