[Regular Expressions] Single opening bracket in charsets is scoped punctuation
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- tooling
Research direction
Start by locating the charset and nestedcharset rules in the Sublime Text syntax definition that scopes regex punctuation. Compare the [[], [[:alpha:]], and [[A-Z]-[0-9]] examples, then verify that a lone opening bracket is not scoped while valid nested charsets still are.
Written by the indexing model from the issue text.
Description
What happened?
A single opening [ may appear unescaped in charsets and thus should not be scoped punctuation.definition.set.
[[]
It becomes punctuation not before valid nestedcharset is present.
[[:alpha:]]
or
[[A-Z]-[0-9]]
- Dominant language
- Python
- Stars
- 455
- Forks
- 86
- Avg merge
- 7d 10h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SublimeText/PackageDev
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
SublimeText/PackageDev#393 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
SublimeText/PackageDev#383 ·
-
enhancement
SublimeText/PackageDev#382 · 1 comment · 1 assignee ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
SublimeText/PackageDev#379 ·
-
defect
SublimeText/PackageDev#371 · 1 comment · 1 reaction · 1 assignee ·
All issues in SublimeText/PackageDev
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100