Regular expressions (RegEx) provide a concise and flexible means for identifying strings of text of interest, such as particular characters, words, or patterns of characters. Regular expressions are written in a formal language. The syntax used by the Device Monitoring Studio is essentially the syntax standardized by ECMAScript, with minor changes in support of internationalization. The following section briefly describes the syntax.
Regular expressions are supported by the following Raw Data View visualizer's features:
Using this feature you may easily search across the monitored USB, Serial or Network data stream for specific packets/data patterns, which match regular expression (RegExp) entered in “Find what:” input field.
Regular expression matching allows you to specify what sub-expression you want to capture. Sub-expression zero represents the entire expression, sub-expression 1 and greater represent corresponding sub-expressions.
If you specify the sub-expression that is greater than the total number of sub-expressions, the error message is displayed.
Using regular expressions affect performance and memory usage. Always prefer using normal pattern searching functions whenever possible.
The following limitations are present in the current version of the Device Monitoring Studio: