fent / fent/randexp.js

Lazy quantifiers does not considered

Open
#115 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
94
PR merge metrics
No merged PRs in 30d

Description

I'm trying to generate a random url based on ` /^\/store\/(?:([^\/]+?))/i` regex, and sometimes it is returning `/store/`. It is considering `?` symbol as optional identifier, but it is a [lazy quantifier](https://www.regular-expressions.info/repeat.html#lazy). I am using `0.5.3` version.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.