Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add orChar/from chain for charIn/charNotIn #399

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Jun 4, 2024

πŸ”— Linked issue

resolves #397

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This adds an implementation for creating custom ranges like [abcA-Z].

TODO:

  • add converter implementation to convert to this syntax
  • validate/review API

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Copy link

vercel bot commented Jun 4, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
magic-regexp-docs βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Jun 4, 2024 2:51pm

Copy link

github-actions bot commented Jun 4, 2024

Diagnostics Comparison:

Click to expand
Metric Previous New Status
Files 352 352 Β± (0.00%)
Lines 136176 136227 β–² (+0.04%)
Identifiers 144200 144386 β–² (+0.13%)
Symbols 246224 248193 β–² (+0.79%)
Types 50363 52292 β–² (+3.69%)
Instantiations 605012 613876 β–² (+1.44%)
Memory used 276359K 288249K β–² (+4.12%)
I/O read 0.02s 0.02s Β± (0.00%)
I/O write 0s 0s Β± (0.00%)
Parse time 0.87s 0.87s Β± (0.00%)
Bind time 0.35s 0.35s Β± (0.00%)
Check time 1.94s 2.04s Β± (+4.90%)
Emit time 0.09s 0.08s Β± (-12.50%)
Total time 3.24s 3.33s Β± (+2.70%)

Copy link

codspeed-hq bot commented Jun 4, 2024

CodSpeed Performance Report

Merging #399 will not alter performance

Comparing feat/or-char-from (4091f08) with main (b06c4e9)

Summary

βœ… 6 untouched benchmarks

Copy link

github-actions bot commented Jun 4, 2024

Diagnostics Comparison:

Click to expand
Metric Previous New Status
Files 352 352 Β± (0.00%)
Lines 136176 136227 β–² (+0.04%)
Identifiers 144200 144387 β–² (+0.13%)
Symbols 246224 248193 β–² (+0.79%)
Types 50363 52292 β–² (+3.69%)
Instantiations 605012 613876 β–² (+1.44%)
Memory used 273822K 282845K β–² (+3.19%)
I/O read 0.03s 0.02s β–Ό (-50.00%)
I/O write 0s 0s Β± (0.00%)
Parse time 1.03s 0.89s Β± (-15.73%)
Bind time 0.39s 0.35s Β± (-11.43%)
Check time 2.22s 2.06s Β± (-7.77%)
Emit time 0.09s 0.09s Β± (0.00%)
Total time 3.73s 3.38s β–Ό (-10.36%)

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.

Unable to convert regex with custom character set to magic-regexp
1 participant