test/Apertium/T_RegExp_Substitute/grammar.cg3
raw| 1 | LIST DetPos = (det pos); |
| 2 | |
| 3 | LIST MSoftC = ("<g.*>"r "c.*"r n m); |
| 4 | LIST MAspC = ("<ch.*>"r "c.*"r n m); |
| 5 | |
| 6 | SECTION |
| 7 | |
| 8 | # mark a possessive determiner as being masculine if followed by soft mutation |
| 9 | SUBSTITUTE (mf) (m) DetPos (1 MSoftC); |
| 10 | |
| 11 | # and feminine if followed by aspirate mutation. |
| 12 | SUBSTITUTE (mf) (f) DetPos (1 MAspC); |