geongeorge/i-hate-regex

The code for iHateregex.io 😈 - The Regex Cheat Sheet

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 8 minutes ago
Added to GitGenius on September 15th, 2026
Created on August 3rd, 2019
Open Issues & Pull Requests: 41 (+0)
GitHub issues: Enabled
Number of forks: 318
Total Stargazers: 4,561 (+0)
Total Subscribers: 46 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 42.6 days
Mean response time: 42.6 days
90th percentile: 42.6 days
Tracked items: 1

Most active contributors

Sign in to see contributor activity.

Related repositories by overlapping contributors

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 367 days
Stale 30+ days: 2
Stale 90+ days: 2

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

iHateRegex is a regex cheat sheet and learning tool that helps developers understand regular expressions through interactive visualization and explanation.

The project solves the problem of regex complexity by making patterns comprehensible rather than intimidating. It renders visual railroad diagrams directly in the browser showing the structure of any regular expression, allows hovering over expression components to see plain-English explanations, and provides a live testing area with string matching and highlighting. The tool includes regex code highlighting, validation, and markdown-supported descriptions. Users can export diagrams as SVG or PNG files and access a playground to create and test their own expressions.

The tool suits developers who struggle with regex syntax or want to understand how patterns work before using them. It functions both as a reference for common patterns and as a learning resource through its interactive features. The project welcomes community contributions through pull requests to add new regex patterns to the collection, and users can also publish expressions directly from the playground after signing in. Private saved regexes belong to the signed-in user, while published regexes create public community pages with opaque database IDs that never expose the regex itself in URLs.

The project has undergone a complete architectural rebuild from its original Nuxt-based version to TypeScript and TanStack Start with PostgreSQL backing. The codebase is organized as a pnpm monorepo with clear separation between applications and shared packages. Contribution is straightforward, requiring only additions to a JSON file and corresponding markdown documentation, with the project actively soliciting community participation through its contribution guidelines and playground publishing feature.