FixedOrder
FixedOrder[p1,p2,…]
is a grammar rules pattern object that represents a sequence of elements matching p1, p2, …, in the fixed order given.
Details
- FixedOrder appears inside GrammarRules and StringExpression objects.
- FixedOrder can be nested inside and outside AnyOrder, Alternatives, and other grammar rules patterns.
Examples
open allclose allBasic Examples (2)
Deploy a grammar that requires elements to appear in a particular order:
Extract elements of a string that appear in a particular order:
By default, elements of StringExpression are already ordered:
Text
Wolfram Research (2015), FixedOrder, Wolfram Language function, https://reference.wolfram.com/language/ref/FixedOrder.html.
CMS
Wolfram Language. 2015. "FixedOrder." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FixedOrder.html.
APA
Wolfram Language. (2015). FixedOrder. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FixedOrder.html