cdoco/common-regex resource
:jack_o_lantern: 常用正则表达式 - 收集一些在平时项目开发中经常用到的正则表达式。 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3449
- days_rel: n/a
- days_push: 2739
- n_releases_24m: 0
Adoption not part of the score
3133 stars · 407 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A curated collection of commonly used regular expressions, documented in Chinese, covering email, phone numbers, domains, IPs, account names, character classes, and numeric patterns. It serves as a reference/cheatsheet rather than an executable library.
Use cases
- find a regex to validate email addresses
- regex for validating Chinese mobile phone numbers
- regular expression to match IPv4 addresses
- regex to validate usernames with letters, digits and underscores
- pattern for matching Chinese characters
- regex for integers and floating point numbers
- copy-paste regex for domain name validation
When to choose
- you need quick, ready-made regex patterns for common validation tasks
- you want a browsable reference of regex examples with test cases
- you work with Chinese text and need patterns for Chinese characters or phone formats
When to avoid
- you need a regex library with programmatic APIs or runtime validation
- you need RFC-strict validation (e.g., fully compliant email parsing)
- you need actively maintained patterns or multi-language documentation
Facets
learning-resource · maturity maintenance
parser developer-tools developer-tools web-development parsers cross-platform regex cheatsheet regexp validation-patterns chinese-documentation
1 source
- readme: https://github.com/cdoco/common-regex · fetched 2026-08-28 · e82a9b1f583c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cdoco/common-regex | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="cdoco/common-regex")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem