diff --git a/cip/1.accepted/CIP2017-01-18-configurable-pattern-matching-semantics.adoc b/cip/1.accepted/CIP2017-01-18-configurable-pattern-matching-semantics.adoc index 498fd3ab05..814854d22f 100644 --- a/cip/1.accepted/CIP2017-01-18-configurable-pattern-matching-semantics.adoc +++ b/cip/1.accepted/CIP2017-01-18-configurable-pattern-matching-semantics.adoc @@ -347,3 +347,11 @@ This section presents a few such functions: * `toPath(p)`: returns `toTrail(p)` if `p` contains no duplicate nodes at all or if the only two duplicate nodes are the source and target nodes of `p`, `null` otherwise. * `toCircuit(p)`: returns `toTrail(p)` if `isClosed(p)` is true, `null` otherwise. * `toCycle(p)`: returns `toPath(p)` if `isClosed(p)` is true, `null` otherwise. + +[appendix] +== Pre-parser options + +It is suggested that a conforming implementation should provide pre-parser options for defining the default pattern variable class as well as the default pattern match mode: + +* `class=walks|trails|paths` for configuring a different default pattern variable class +* `match=all|all-shortest|shortest` for configuring a different default pattern match mode \ No newline at end of file