<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 12, 2013 at 9:40 AM, Patrick Gundlach <span dir="ltr"><<a href="mailto:patrick@gundla.ch" target="_blank">patrick@gundla.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
this has to do with the discussion we had about the selene unicode library a few years ago. Here is a quiz for you. You might think about it first, before trying it out.<br>
<br>
----------------------------------<br>
match = unicode.utf8.match<br>
<br>
if match("à","%s") then<br>
print("space")<br>
else<br>
print("not a space")<br>
end<br>
<br>
if match("á","%s") then<br>
print("space")<br>
else<br>
print("not a space")<br>
end<br>
----------------------------------<br>
<br>
<br>
Now, what is printed?<br>
<span class=""><font color="#888888"><br>
Patrick<br>
<br>
<br>
</font></span></blockquote></div><br>$ luatex test.lua <br>space<br>not a space<br><br clear="all"><br>-- <br>luigi<br>
</div></div>