Quantcast
Channel: SIL Language Software Community - Latest topics
Viewing all articles
Browse latest Browse all 649

Match rule not working

$
0
0

I am making a mobile keyboard with accent deadkeys. If one types the grave accent deadkey, it will type , and then if you type [a], then it will replace the with à. This works fine. However, I am trying to write some code so that if one types a consonant instead, you will get just the consonant, and the ` will be deleted.

To do this, I am trying to create a match rule in my main group, that will go to a new group with rules to replace any [cons] sequence with [cons] (or [cons][cons] with [cons][cons], etc., since I have some keys that output two or three consonants.)

However, I can’t seem to get either a match or a nomatch rule to do anything, even just ouputting test text or changing the layer.

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 649

Trending Articles