<font face="arial" size="2"><p style="margin:0;padding:0;font-family: arial; font-size: 10pt; overflow-wrap: break-word;">Hello,</p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; overflow-wrap: break-word;">Daring Fireballs Markdown specification notes :</p>
<p style="margin:0;padding:0;"><code>"1986. What a great season.
</code></pre>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; overflow-wrap: break-word;">In other words, a <em>number-period-space</em> sequence at the beginning of a line. To avoid this, you can backslash-escape the period:</p>
<p style="margin:0;padding:0;"><code>1986\. What a great season."<br /><br />https://daringfireball.net/projects/markdown/syntax#block<br /><br />But darned if I can find an Erlang function to distinguish these two cases:<br /><br />2> S = "1986\. What a great season.".<br />"1986. What a great season."<br />3> <br />3> string:chr(S, "\.").<br />** exception error: no function clause matching string:chr("1986. What a great season.",".") (string.erl, line 97)<br />4> string:chr(S, "$\.").<br />** exception error: no function clause matching string:chr("1986. What a great season.","$.") (string.erl, line 97)<br />Yada yada<br /><br />Indeed it looks like the escape character isn't even represented in the string.<br /><br />Can anyone please show me the way?<br /><br />Best wishes,<br /><br />LRP<br /><br /></code></pre>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; overflow-wrap: break-word;"> </p>
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; overflow-wrap: break-word;"> </p>
<!--WM_COMPOSE_SIGNATURE_START-->
<p style="margin:0;padding:0;font-family: arial; font-size: 10pt; overflow-wrap: break-word;">*********************************************<br />My books:<br /><br />THE GOSPEL OF ASHES<br />http://thegospelofashes.com<br /><br />Strength is not enough. Do they have the courage <br />and the cunning? Can they survive long enough to <br />save the lives of millions? <br /><br />FREEIN' PANCHO<br />http://freeinpancho.com<br /><br />A community of misfits help a troubled boy find his way <br /><br />AYA TAKEO<br />http://ayatakeo.com<br /><br />Star-crossed love, war and power in an alternative <br />universe<br /><br />Available through Amazon or by request from your <br />favorite bookstore<br /><br /><br />**********************************************</p>
<!--WM_COMPOSE_SIGNATURE_END--></font>