25 Sep
2013
25 Sep
'13
7:31 p.m.
Hello. I've searched the wiki for some mention, but to nothing. I have a phrase to say. For this I capture digits with condition: <input pattern="^([2-9])([1-9])$"> . So $1 is for first part to say and $2 is second. I have files for first part named like 10.wav, 20.wav, 30.wav and so on. For second part I have files named like: 1-2.wav, 2-2.wav, 3-3.wav... I can use for second part: <action function="play-file" data="digits/$2-2.wav"/> But I have problem for first part: <action function="play-file" data="digits/$10.wav"/> This plays nothing. How to delimit that the variable is $1 and not $10 ? -- Mimiko desu.