This probably a bit much to implement since not everyone understand regex and how it works, but this will be very helpful during offline text editing (even on online LeanType keyboard) on some circumstances.
The way it works is that on key configuration, along with Edit text, Adjust tone, etc, there's an option called Regular Expression. When selecting this option, we can use input and output to create regex for selected text and edit them the way we want.
For example:
Input=(.*)\bquick\b(.*)
Output=$1hurry$2
Now when we used this key on a text like "Please be quick" it'll change to "Please be hurry" and the \b (boundaries) will make sure that word like "quickly" won't change to "hurryly".
I always wanted this feature on G-board (but for dictionary) but it probably never get added.
v3.7.9
This probably a bit much to implement since not everyone understand regex and how it works, but this will be very helpful during offline text editing (even on online LeanType keyboard) on some circumstances.
The way it works is that on key configuration, along with Edit text, Adjust tone, etc, there's an option called Regular Expression. When selecting this option, we can use input and output to create regex for selected text and edit them the way we want.
For example:
Input=(.*)\bquick\b(.*)
Output=$1hurry$2
Now when we used this key on a text like "Please be quick" it'll change to "Please be hurry" and the \b (boundaries) will make sure that word like "quickly" won't change to "hurryly".
I always wanted this feature on G-board (but for dictionary) but it probably never get added.
v3.7.9