28 May
2024
28 May
'24
6:12 p.m.
Dear list, I have the following sample: \starttext \startTEXpage[pagestate=start, offset=1em] \startluacode local str = "this is that" context(str:match("(this|these)")) \stopluacode \stopTEXpage \stoptext In short, I would like to know whether it is possible to have the regular expression (this|these) as a Lua pattern. I mean, I need complete strings and I haven’t found the way to do it. Many thanks for your help, Pablo