问题
Is it possible to search with regular expressions within Google Chrome's developer console? I know how to search for text within the console (Ctrl+F), but can't see any way to enable regular expressions.
Do there e.g. exist extensions to enable this, if not supported by Chrome itself?
Update
I have created a feature request for regular expression support in developer console search, since there appears to be no current support for it.
回答1:
Ctrl + F search with regular expressions does not exist. This functionality requires tight integration in the context of the developer tools, so if you don't like the alternative below, you have to look through the developer tools' source code, find the part that is responsible for implementing Ctrl+F, write a patch and apply the patch using https://stackoverflow.com/a/17044405/938089.
Click on the funnel icon and tick the Regex checkbox. Then you can filter console messages to only show messages that match your (case-insensitive) (JavaScript) regular expression.

回答2:
Some chrome extension could support(at least partly) your requirement.
For example: "Chrome Regex Search" developed by rshen. It looks like this:
To install it:
- Access Chrome Web Store
- Search the keyword "regex"
- Click "ADD TO CHROME" button close to "Chrome Regex Search"
来源:https://stackoverflow.com/questions/26077976/is-it-possible-to-search-with-regular-expressions-within-chromes-developer-cons