# any86/any-rule

🦕  常用正则大全, 支持web / vscode / idea / Alfred Workflow多平台

Repository: https://github.com/any86/any-rule
Canonical: https://ross.abutalabs.com/products/any-rule
Homepage: https://any-rule.vercel.app/
Language: TypeScript
License: MIT
License Family: permissive
Topics: zheng-ze, regexp, regex, express, awsome
Last push: 2024-07-21T05:29:34+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": 2641, "days_push": 773, "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 8647, forks 809 (observed 2026-08-28T04:10:23.990511+00:00)

## What it is
A curated collection of 84+ commonly used regular expressions (phone numbers, URLs, IMEI, magnet links, etc.) available as a web app, VS Code plugin, and community ports for IDEA and Alfred. Selecting a regex also offers a visual explanation via regexper to help users learn.

## Use cases
- find a regex to validate phone numbers
- quickly insert a URL validation pattern in VS Code
- look up a regex for Chinese ID or credit codes
- learn what a regex pattern means visually
- search common regex snippets by keyword

## When to choose
- you need a reliable, tested regex for common validation tasks
- you want regex lookup directly inside VS Code
- you prefer browsing a searchable web cheatsheet

## When to avoid
- you need a programmatic regex library with matching/validation APIs
- you need highly specialized or domain-specific patterns not in the collection
- you need regex support for languages beyond JavaScript syntax

## Facets
- artifact type: dataset
- maturity: active
- function: developer-tools, parser, documentation
- domain: developer-tools, web-development, tutorials
- platform: editor-plugin, cross-platform
- tags: regex, cheatsheet, vscode-extension, regexp-collection, chinese, web

## Member repositories
- any86/any-rule (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:23.990511+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-29T17:25:40.797911+00:00, confidence not recorded.
  - readme: https://github.com/any86/any-rule (fetched 2026-08-28T04:10:23.990511+00:00, sha 12e4d5573d26)
  - homepage: https://any-rule.vercel.app/ (fetched 2026-08-29T08:26:21.427643+00:00, sha eb8f581b5ec6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
