test/T_SpaceInForms/grammar.cg3
raw| 1 | DELIMITERS = "<$.>" ; |
| 2 | |
| 3 | LIST ASet = "word with spaces" ; |
| 4 | LIST BSet = ("word with spaces" wanted) ; |
| 5 | |
| 6 | ADD (@found1) ASet ; |
| 7 | ADD (@found2) BSet ; |
| 8 | ADD (@other) (with) ; |
| 9 | ADD (@quotes) ("words"with"quotes"inside") ; |
| 10 | |
| 11 | # This is actually not allowed; cannot have multiple baseforms in a reading, but it's a good test. |
| 12 | ADD (@normal) ("normal tag") ; |
| 13 | |
| 14 | SUBSTITUTE ("word with spaces") ("substituted muchly") ("word with spaces") ; |
| 15 | |
| 16 | SECTION |
| 17 | "<word with spaces>" REMOVE (with) ; |