This is related to the (closed) ticked https://sourceforge.net/tracker/?func=detail&atid=756398&aid=3008434&group_id=143754
Not that you can use ^$ to define suggestions, I was wondering if it would be possible to extend the syntax so you can associate an arbitrary position of the replacement string to match the end end of the string to be replaced (for example, using a $ in the replacement string as well).
REP ^escape run$_away
* For “escape”, suggests “run away”.
* For “escapes”, suggests “runs away”.
Real-case Scenario (Galician)
The verb “bucear” is wrong in Galician. The right expression would be “nadar ao somorgullo”.
However, “bucear” and “nadar” are verbs, and in Galician they have a lot of suffix combinations.
* Bucear forms: http://conxugador.cilenis.com/index.php?verb=bucear
** Note that although “bucear” is not a Galician word, if you think it is you would write it with one of these forms.
* Nadar forms: http://conxugador.cilenis.com/index.php?verb=nadar
To write a proper suggestion, you would currently need to write something like:
REP ^bucear$ nadar_ao_somorgullo
REP ^buceando$ nadando_ao_somorgullo
REP ^buceado$ nadado_ao_somorgullo
(and so on for the almost 70 forms the verb can have)
Not to mention that those verbal forms might include additional sufixes. Each form might have around 10 or more possible additional suffixes. As a result, you would need hundreds of lines to define the right replacement for all the possible forms of “bucear”.
Anyway, in this particular case, with the proposed sintax, you would need a single line:
REP ^buce nad$_ao_somorgullo