-
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
Sequence query #13
Comments
I'm not sure I understand what the problem is. "var": "RE::/var\\b/i",
"eq": "=",
"sub": "RE::/[A-Za-z$][A-Za-z0-9$]*/" Then either leave the "subs1" or "var" in the "js" sequence BUT NOT BOTH and make sure that "var" or "subs1" are BEFORE "subs" (and also put "keyword" BEFORE "subs" and AFTER "var" or "subs1"). If I miss something, please clarify and add a screenshot of the result if possible so I get an idea |
里面的搜索功能可以做到不区分大小写吗? |
@wangliabc , Please write in english, I am not a speaker of Chinese (although I would like to learn) |
In the following line, I am trying to catch 'var', '=' and 'somevar' separately and assign styles.
var=somevar
I have defined in the lex section 'var', eq and 'subs', and these work well.
I am having trouble with the 'somevar' part as I believe I can only identify it accurately as a subs type following after types var and eq.
My sequence is currently
Am I being too hopeful, or is there a correct approach to the above requirement.
The text was updated successfully, but these errors were encountered: