Answer the question
In order to leave comments, you need to log in
Is it possible to somehow exclude the desired regular expression in the js file?
I wrote a function in a js file that searches for all comments in the same file (with a function) and displays them. Specified '//' in the regular expression. The question is: How do I exclude my regular expression string from a potential comment?
Answer the question
In order to leave comments, you need to log in
pass the line number to be ignored. It's better to use flags in comments. to ignore all comments/lines that start with //ignore.
or //igroneNextRow
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question