kokke / kokke/tiny-regex-c

can not match such string “869759002514931”

Open
#21 10 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

the string is just 15 fixed digits witch is start by "86". i have check the pattern "\\d{15}", "[0-9]{15}" ,"^[0-9]{15}$" and they all cannot match correctly. what is wrong with it?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported match attempts in the tiny-regex-c repository with the exact 15-digit string and each pattern shown. Trace the matching behavior for digit classes, anchors, and fixed-length quantifiers; done means the cause is identified and the reported string has verified matching behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.