If the Regular Expression starts with [\r\n]+, when you analyze a file's sub-objects you may find that you have erroneous bookmarks that do not correspond to the object in question.
Embedded Regular Expressions
Please note that when searching for a Regular Expression embedded in a particular zone, the limits of the zones you are searching (i.e.: the Begin and End Expressions) MUST NOT be located in comments or strings.
Regular expressions and comments
Reference Pattern does not pass through comments if the option "search in comments" is not activated.
For example, with the following C++ code:
// one comment
// another comment
The regular expression "int.*std" will not find any match.
Reference Pattern for T-SQL
- The script used for tables is not fully reconstructed. The regenerated script ONLY contains column names and their data type - nothing else.
- When using a Microsoft SQL-Server, the Reference Pattern does not function for table indexes and table constraint names.
Universal Reference Pattern
Occurrence of the search expression are not found in an object, when this object is shared between two Universal Analyzer (UA) Analysis Units and the two UA Analysis Units have different root paths. In this case the following warning is displayed in the log: "No occurrences of the pattern '[A-Za-z0-9_]*' found (language is )"
Workaround: If an object is shared between two UA Analysis Units make sure you define the same root path for both jobs.