<div dir="ltr">There's also an interesting security issue around Unicode source code. <div><br></div><div>Take for example the recent hack of Cryptsy, which involved a guy taking what looked like an innocent and safe pull request to fix an issue in one part of his software, but through the magic of the preprocessor, turned out to do something else entirely:</div><div><br></div><div><a href="http://earlz.net/view/2016/01/16/0717/analyzing-the-56-million-exploit-and-cryptsys-security">http://earlz.net/view/2016/01/16/0717/analyzing-the-56-million-exploit-and-cryptsys-security</a><br></div><div><br></div><div>and then set your gaze on:</div><div><br></div><div><a href="https://github.com/reinderien/mimic">https://github.com/reinderien/mimic</a><br></div><div><br></div><div>and then consider that, e.g., atoms are dynamically created on mention, without warning.</div><div><br></div><div>F.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 6:11 AM, Fred Hebert <span dir="ltr"><<a href="mailto:mononcqc@ferd.ca" target="_blank">mononcqc@ferd.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/03, Pierre Fenoll wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What about re.erl character classes?<br>
<br>
I believe the regular expression [\s] does not match Unicode spaces, even when giving the unicode atom flag to re.erl functions.<br>
<br>
And there are other classes that Unicode defines that would be great for re.erl to support.<br>
</blockquote>
<br></span>
Pass in the `ucp' option:<br>
<br>
ucp<br>
   Specifies that Unicode Character Properties should be used when    resolving \B, \b, \D, \d, \S, \s, \W and \w. Without this flag, only    ISO-Latin-1 properties are used. Using Unicode properties hurts    performance, but is semantically correct when working with Unicode    characters beyond the ISO-Latin-1 range.<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>