Details
-
Suggestion
-
Resolution: Duplicate
Description
It would be really helpful if one could code search an exact phrase.
For example if I wanted to find all calls to a messages function in php, I would look for say ->messages() lang:php
But because the special characters are ignored, I get tons of undesired results.
Examples:
#!php
$messages = [];
trait MessagesTrait {}
$this->saveMessages();
This means instead of the few results I want, I end up with 100's I have to wade through that I don't want.
Perhaps surrounding text in single quotes or back-ticks could trigger this match method.