Kernix13 / Kernix13/pre-code-formatter
RegEx capture groups issue
Open
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
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