unjs / magic-regexp

A compiled-away, type-safe, readable RegExp alternative

Home Page:https://regexp.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lazy quantifier

alesvojta opened this issue Β· comments

πŸ“š Is your documentation request related to a problem?

Is it possible to use this library and create the lazy quantifier?
For example I would like to get such regex: (?:\w|-)+?. The main part I'm asking here is the +?.

πŸ” Where should you find it?

No response

ℹ️ Additional context

No response

Hi @alesvojta,

Thanks for the suggestion! I'll work on this and hopefully will add this very soon πŸ‘