question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RegEx bug when selecting empty class/className

See original GitHub issue

Lines after an empty string class/className attribute className=""/class="" will be not folded. CleanShot 2022-07-08 at 18 54 42 CleanShot 2022-07-08 at 18 54 47

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
moalamricommented, Jul 13, 2022

Hi @ccccooooddddyyyy Could you please take a mini screenshot for the extension in action? Same as with the current screenshot. Because the current one has a typo and it looks obviously unreal to VS Code interface (I used carbon to generate it). Also you have a nice combination of colors 🙂

You are welcome to update the current one with a PR if you have time.

Thanks in advance

1reaction
moalamricommented, Jul 8, 2022

Good catch @ccccooooddddyyyy

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Regex.Matches returns empty result - Stack Overflow
The problem I got is that the returned array is empty. Any idea what could be wrong? I guess it's because of the...
Read more >
Empty class - JSLint Error Explanations
The "Empty class" error is thrown when JSLint, JSHint (only versions before 1.0.0) or ESLint encounters a regular expression literal containing an empty...
Read more >
no-empty-class - ESLint - Pluggable JavaScript Linter
Disallows empty character classes in regular expressions. (removed) This rule was removed in ESLint v1.0 and replaced by the no-empty-character-class rule.
Read more >
[^] / blank or empty negated character class pattern error for ...
Ruby treats empty character classes as an error. So both JavaScript and Ruby require closing brackets to be escaped with a backslash to...
Read more >
MySQL 8.0 Reference Manual :: 12.8.2 Regular Expressions
This section discusses the functions and operators available for regular expression matching and illustrates, with examples, some of the special characters ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found