Kernix13 / Kernix13/pre-code-formatter

RegEx capture groups issue

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
HTML
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Some of my capture groups result in empty `span.color` classes. I made edits to the regular expressions but then they resulted in some characters not being output to the DOM. Any help here would be appreciated.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the capture-group case that creates empty span.color classes and compare the generated DOM with the expected output. Trace the regular-expression handling to identify why edited expressions omit characters, then verify that capture groups produce neither empty color spans nor missing DOM text.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.