|
Edit Configuration. Opens the Attribute - Topology Property Configuration dialog box, which allows you to edit the name, storage type, and metric derivations (if applicable). |
|
For example: the regular expression ‘White *space’ matches ‘Whitespace’, or ‘White space’, or ‘White@@any number of space characters@@space’, but not ‘White *space’ (the string containing a literal asterisk).
NOTE: ‘nexus*’ does NOT match ‘nexus.bat’, or ‘nexusconfig’. Path name-style matching (file globbing) is not the same as regular expression syntax. | |||||
The combination ‘.*’ (dot-star) matches any string of characters. It is an idiom for ‘the rest of the characters’ in a string, but not including the end of line character.
For example: the regular expression ‘HTTP.*’ matches ‘HTTP1.0’, or
‘HTTP1://www.example.com/index.html’. CAUTION: The regular expression ‘mayb.com.*’ matches ‘maybecompletely wrong!’. The dot in the regular expression matches any character, in this case an ‘e’.
NOTE: Because the dot is a metacharacter, use the character class [.] to match a literal dot in a string. It is more robust than attempting to protect the dot with a backslash (\.). | |||||
|
For example: the regular expression ‘i?www’ matches ‘www’ or ‘iwww’. The regular expression ‘(ab)?cd’ matches ‘abcd’ and ‘cd’. | |||||
|
For example: the regular expression ‘[b-h]at’ matches ‘bat’, or ‘cat’, or ‘fat’, or ‘hat’, but not ‘mat’. | |||||
|
Unless it appears as the first entry in a bracketed character class, the caret metacharacter matches the special character that represent the start of a string. The combination ‘[^...]’ represents a negated character class. All characters except the ones listed are allowed in the match.
| |||||
|
NOTE: The dollar sign ($) is a shell metacharacter in Unix. If you are running Foglight for JMX on a Unix system and want to include the dollar sign as a metacharacter in a regular expression, surround the expression with single quotes. For example: sh nexusctl.sh start-recording -fir ‘\.[Gg][Ii][Ff]($|\?)/’ | |||||
|
For example: the regular expression ‘http://(my|our)host\.com’ matches ‘http://myhost.com’ or ‘http://ourhost.com’. |