Skip to content

[FEATURE] Builtin high-level predefined patterns - #105

Open
Arun0A wants to merge 5 commits into
yoav-lavi:mainfrom
Arun0A:predefined-patterns
Open

[FEATURE] Builtin high-level predefined patterns#105
Arun0A wants to merge 5 commits into
yoav-lavi:mainfrom
Arun0A:predefined-patterns

Conversation

@Arun0A

@Arun0A Arun0A commented May 5, 2026

Copy link
Copy Markdown

Description

The idea of this PR is highly motivated from #94.

I have implemented 8 new symbols that have predefined regex patterns.

They are:

    Date, DateTime, UnixTime,
    Float,
    Url,
    Ipv4, Ipv6, Ip

I have written/performed tests to verify their implementation.

Apart from this, while I was trying to build it from source initially, the build failed due to a package (clap_lex) requiring edition2024 (cargo feature). This was primarily due to cargo re-resolving dependencies during build, however this could be fixed using the --locked flag during build to use the existing lockfile in the repo. I also updated the readme to use locked installs due to this reason.

Type of change

  • 💔 Breaking
  • 🚀 Feature
  • 🐛 Fix
  • 🛠️ Tooling
  • 🧪 Test
  • 📦 Dependency
  • 📖 Requires documentation update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant