How to match attribute_name with prefix in HTML. #1129
alexzhang1030
started this conversation in
General
Replies: 1 comment 2 replies
-
rule:
kind: attribute
regex: ":.*=" I think this is a good solution. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is a playground
I'm not really sure this is the best solution, and I don't know how to fix this from
:$A="$A"
to:$A
Cause
:a="a"
will be parsed toattr_name: ':a', attr_value: 'a'
, can we add some options likeprefix
ormodifiers
to support:$A="$A"
?Beta Was this translation helpful? Give feedback.
All reactions