Chaining
Description
Some header operators can be chained. This means they can be applied one after another. Chained header operators are applied from left to right.
Usage examples
For example, the symbol B defines a grammar that will generate the subset of entries generated by A where forms in the text field end with "p", "t", or "k" and begin with "a" or "e":
| A = | text | translation | |
|---|---|---|---|
| eat | manger | ||
| apple | pomme | ||
| at | à | ||
| apprenticeship | apprentissage | ||
| B = | embed | ends text | starts text |
| A | p|t|k | a|e |
While ends and starts are commutative (meaning that their order doesn't matter for the outcome), in this case ends would be applied first, followed by starts.