Find Dialog
Note: Many aspects of the dialog described here are new to Analytica 5.0.
The Find dialog is accessed by selecting Find on the Object menu, or by pressing Ctrl+F. It can also be accessed from the Find button on the Object Finder dialog. If you access the Find dialog while viewing a table, a Find in Table tab is present, which searches for text within the cells of the table.
Find Objects
Select the Find Objects tab to search for objects within your model, or for system functions by name or pattern. This will be the only option when you access the Find Dialog when not viewing a table.
Search pattern
Find will locate objects having the text you type anywhere within the Identifier, Title or any textual attribute if you select Text. The search text is a regular expression (except when you search on the Wiki), so in addition to simple textual searches, you can use wildcards. Some useful ones include:
^Text
: Find only objects starting with "Text". This would exclude cases where the letters "text" occur as a substring inside the identifier, title or text.Va\d+
: Find identifiers with "Va" followed by one or more numeric digits, such as "Va1" or "Va13".Text$
: Find text ending with the characters "text".\bword\b
: Finds "word" only when in appears as a whole word -- there must be a word boundary on each side.
If you have some text selected when you bring up the Find Dialog, the selected text is inserted into the text box for you.
All searches are case-insensitive.
Attribute to search
You can search by Identifier, Title or Text. The attribute selection is ignored when you use on the Wiki. When you select Text, all textual attributes are searched for the indicated text, including the Description, Definition, Units, Title, Identifier, User-defined attributes, etc.
Show matches with 
When this is checked, objects in the "found set" will be tagged in the user-interface with a magnifying glass object, e.g.,
Buttons
- Find: Press this to jump to the first object matching your criteria. From there you can select Find Next on the Object menu, or press Ctrl+G, to visit the remaining matches.
- List: Opens a list of matches in the Outline window. From there you can double-click on matches of interest.
- on the Wiki: Opens a browser window and searches the Analytica Wiki for the indicated text. The "found set" from the previous search is not changed.
- Cancel: End the dialog without searching.
Find in Table
These options appear when you bring up the Find Dialog while viewing a table. This searches for the indicated text within the cells of the table. The search text is literal text, not a regular expression.
- Case sensitive: Select this for case-sensitive matching, so that upper and lower case must be as you type it.
- Match entire cell: Select this to exclude finding the pattern within the text of a cell.
History
- Analytica 4.0: Introduced Find in Table.
- Analytica 4.6 and earlier: The Find Objects and Find-in-Table dialogs were separate. From a table, the option of searching for objects was not available. To search for objects while viewing a table, bring a non-table window into the foreground, then select Find.
- Analytica 5.0: Introduced the Text option, the use of regular expressions, the option to depict the found set with a magnifying glass icon, the option to List matches in the Outline window, the combination of Find in Table and Find Objects in the same dialog, and the question mark button on the title bar that jumps to this page.
Enable comment auto-refresher