Appendix - Matching Expressions Grammar

Define object graph matching expressions with the following grammar.

This page discusses:

See Also
About the Consolidation Object Graph

Element

Syntax

paths

path { "." path }

path

("(" paths ")" { quantifier } { ("|" | "|>") path }) | edge

edge

{ "-" } string { "[" nodeTypes "]" } { quantifier } { ("|" | "|>") edge }

nodeTypes

(regex | string) { "|" nodeTypes }

meta

[regex|string]{‘meta’|’meta2’}

Note: For more information, see Impact Detection.

quantifier

("*" | "?" | "+") { "*" }

regex

"/" regex_string "/"