Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\n not working as expected #512

Open
Ponynjaa opened this issue Nov 7, 2023 · 1 comment
Open

\n not working as expected #512

Ponynjaa opened this issue Nov 7, 2023 · 1 comment

Comments

@Ponynjaa
Copy link

Ponynjaa commented Nov 7, 2023

When using \n without anything else it matches nothing. When using "\n*" it suddenly finds matches. I think this might be an issue of how the regex is constructed as it works fine when used directly in the browser-console.

@lionel-rowe
Copy link

Looks like an issue with how the highlights and hitbox for the hover event are rendered. The matches are there (shown correctly in the count), they're just invisible, because the bounding rect for a single newline has zero width.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants