SonOfLilit / kleenexp

modern regular expression syntax everywhere with a painless upgrade path
MIT License
73 stars 16 forks source link

Syntax for non-greedy quantifiers #23

Open SonOfLilit opened 2 years ago

SonOfLilit commented 2 years ago
[1+:fewest #any]!

Should compile to:

(.)+?!

See e.g. https://www.oreilly.com/library/view/perl-cookbook/1565922433/ch06s16.html

SonOfLilit commented 1 year ago

Python is done, Rust needs implementation