# 8051Enthusiast/regex2fat

Turn your favourite regex into FAT32

Repository: https://github.com/8051Enthusiast/regex2fat
Canonical: https://ross.abutalabs.com/products/regex2fat
Language: Rust
License: Unlicense
License Family: permissive
Topics: regex, fat32
Last push: 2022-07-20T11:21:04+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2337, "days_push": 1505, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1029, forks 13 (observed 2026-08-28T04:03:17.621483+00:00)

## What it is
A Rust CLI tool that compiles a regular expression into a DFA and serializes it as a FAT32 filesystem image, where directory traversal encodes state transitions. Matching a string is done by checking whether a corresponding path exists after mounting the image.

## Use cases
- turn a regex into a fat32 filesystem image
- match strings by checking if a path exists in a mounted filesystem
- explore a regex DFA as directory loops
- novelty demo of DFA serialization into fat32

## When to choose
- you want a fun, hacky way to represent a regex DFA as a filesystem
- you want to visualize or walk a DFA via directory structure
- you're experimenting with filesystems that allow directory loops

## When to avoid
- you need a practical regex engine for real applications
- you need reliable, production-grade filesystem images
- you're on a system whose FAT32 driver rejects directory loops

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: parser, serialization, file-system, cli
- domain: developer-tools, files
- platform: windows, cli, rust
- tags: regex, fat32, dfa, novelty, filesystem-image, algorithms, command-line, linux, macos

## Member repositories
- 8051Enthusiast/regex2fat (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:17.621483+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:07:36.661279+00:00, confidence not recorded.
  - readme: https://github.com/8051Enthusiast/regex2fat (fetched 2026-08-28T04:03:17.621483+00:00, sha aefc305147fe)
  - registry_crates: https://crates.io/api/v1/crates/regex2fat (fetched 2026-08-29T13:07:09.127624+00:00, sha 4bdb6a3c42b4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
