-
Notifications
You must be signed in to change notification settings - Fork 8
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
Crazy long regex for text.html.basic #73
Comments
@evoactivity looks like a copy-pasta from smf, ya, it looks not needed, let’s delete it UPD: Ah, it's for handlebars cases like:
And we not planning to support it, so could be removed. |
Just remove the
So this will capture <script id="entry-template" type="text/x-handlebars-template">
<div class="entry">
<h1>{{title}}</h1>
<div class="body">
{{body}}
</div>
</div>
</script> It's on the official handlebars website: https://handlebarsjs.com/installation/#usage ! |
@lifeart why we would remove it ? |
@flashios09 I'm glad we able to figure out usages for this expression, not pushing removing here, since we have real use-case for it. Wondering if we could simplify it a bit (removing bunch of |
Simplification is fine, I'm glad you caught this @flashios09, that's why I created an issue for this one instead of just going ahead and removing. |
@lifeart Do you have any idea what this particular regex is for? I've ignored it whilst I've worked on this assuming someone somewhere needs it, but it seems hyper specific.
I'll probably remove it unless you know why it exists 😄
vsc-ember-syntax/syntaxes/src/text.html.ember-handlebars.mjs
Line 832 in 98c68b2
The text was updated successfully, but these errors were encountered: