AnyLogic allows searching for
text in the workbench.
To search the
- Open the Search
dialog box by
clicking the Search
- Type the expression for which you wish to do the text
search in the
Containing Text box. From the drop-down menu, you
can choose to repeat or modify a recent
search. When entering text, you can use wildcards for search
expressions displayed in the
"*" matches any set of characters, including the empty string
"?" matches for any character
"\" is the escape for a literal; if you want to search for an asterisk,
question mark, or backslash character, type a backslash before it to
indicate that you are not using these characters as wildcards (e.g.,
"\*", "\?", or "\\")
the Case Sensitive
option on if you want the text search to be case sensitive.
- Turn the Regular
Expression option on if you want to specify a pattern
facet. A pattern
facet can be used to constrain the value of a lexical
space (the set of string literals that represent the values),
which indirectly constrains the value space. The value of the pattern
is called a regular expression. For more information on pattern syntax,
please refer to java.util.regex.Pattern
- Choose the scope of your search using the Scope radio buttons.
You can either search through the whole
option), or previously selected model element only (Selection option).
In case you search through the selection, the search is done through
all branches of the workspace subtree starting from the selection point.
- Click Search
to finish. The search results will be displayed in the Search