The Workbench webpage describing new features in version 2 lists the ability to "Search notebook documents with the Mathematica pattern search utility" under the heading Mathematica Front End Integration.
Does this feature in fact allow the user to search a Mathematica notebook document directly (i.e. interactively from within the front-end) for string pattern expressions, and if so, can anyone provide instructions on how to use this feature?
The NotebookFind
command does not appear to support searching for string pattern expressions which raises the question of whether or not Workbench is using an undocumented Mathematica command and/or option to search for the pattern.
Plus[x_Integer,Times[_,_]]
and come up with matches like1+calcEccentricityEarthOrbit[t]*Cos[calcSunTrueAnomaly[t] \[Degree]]
. It doesn't seem to do string patterns, but for that purpose the WB has a regular expression matcher built-in. $\endgroup$NotebookFind
command. Others have suggested that one needs to search the string representation of the notebook in order to search for patterns but this is not an ideal solution for my intended application. $\endgroup$