Regular match log line

Since there are a lot of console.log in the takeover code

It was not removed at the time of publication, and some were commented. I couldn't bear it, so I wrote a regular pattern to match all logs 

In code:

/^\\n.*console.log{1}.*\\n$/gi

 

In the IDE:

\n.*console.log{1}.*\n

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324997283&siteId=291194637