问题
All of the Google Chrome Console documentation pages (and numerous SO answers) show a checkbox labeled "Regex" next to the filter when the filter bar is expanded, e.g., from the Command Line API Reference:
I use it so much that I have macros set up to paste various Regexes into it, so I'm positive I am not crazy and that it existed until very recently. I am using Google Chrome Version 57.0.2987.21 beta (64-bit) on Mac OS X, and it's no longer there:
Is it gone, have I done something inadvertent to hide it, or what?
Update: This might be a bug in the Beta channel: DevTools: [regression] isRegex checkbox is missing on Network and Console filter bars
回答1:
In Chrome 58+ to enter a regex simply enclose the text in /
, this trick is used in some applications:
/\w+::\S/
来源:https://stackoverflow.com/questions/42044525/where-has-the-google-chrome-console-filter-regex-checkbox-gone