kokke / kokke/tiny-regex-c

support for non-greedy `*?` and `+?`

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.5k
Forks
212
PR merge metrics
No merged PRs in 30d

Description

tiny-regex-c can add support for these simply by reversing the order of the 2 code blocks in `matchplus` and `matchstar`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the matchplus and matchstar functions in the tiny-regex-c source. Confirm how their two matching branches determine repetition order, then verify that non-greedy *? and +? choose the shorter match first. Done means both quantifiers behave non-greedily without regressing existing repetition behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.