Hi Dave,
I have tested with lou_trace:
The first line
context `[]%englishLetter @56
runs in a loop 256 times and then quits.
The second line
context _!$l[]%englishLetter @56
works if you remove the _ character.
Apparently, Liblouis backtracks one character before running the test in
both cases. Come to think of it, I normally don't need to use the _
character when testing for one character before something that needs to be
acted on.
It could probably use a good look-over.
Bue
-----Oprindelig meddelelse-----
Fra: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] På vegne af Dave Mielke
Sendt: 5. januar 2017 20:12
Til: liblouis-liblouisxml@xxxxxxxxxxxxx
Emne: [liblouis-liblouisxml] Re: SV: Re: SV: Difficulty with the context
opcode.
[quoted lines by Bue Vester-Andersen on 2017/01/05 at 19:27 +0100]
Have you tried it in the middle of the string in stead of as the first
character?