bee-san / bee-san/pyWhat

Add support for list of regex in regex.json

Open
#227 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.3k
Forks
391
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Many regexes (like phone numbers or coordinates) have several formats. Currently, `|` can be used to separate formats, but it makes regex longer and harder to understand.

**Describe the solution you'd like**
"Regex" should be a list of regexes.

Contributor guide

Open the contributing guide

Research direction

Start by reading regex.json and inspect how its current regex entries are loaded and matched. Define completion as allowing a Regex value to contain multiple regexes while preserving the existing alternative-format behavior; verify the affected matching behavior with the repository's existing tests, if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.