what i would
want (thought not necessarily
expect out of any given SCA) is for it to apply one rule to the entire word at once, rather than going left to right or vice versa. for the second example, there are two instances of /aa/, so both should trigger the rule. if i'm getting the result "aea", that means it's not applying the rule to the whole word at once, it's just applying it to the first valid instance of /aa/ that it finds, then looking for another instance *after* applying the rule once, not finding one, and moving on. what i would want is for it to apply it to every applicable instance in the word
at once. so what i would want from the input in the OP is:
- nenena
- aee
- aeaea
- eee
- eee
- eaa
again, i'm not going to necessarily assume any given SCA implementation will actually produce these results, but this is generally how i'm thinking about the rules i'm making. (bradrn's LTR/RTL proviso solves for the given rules, but not if the environments happen to be _a and _e instead of a_ and e_)