Ok, sounds cool.
On Tuesday, 19 July 2011, Nick Ager <nick.ager(a)gmail.com> wrote:
Hi,
Thank, I will look at it when I am back home. My only worry was that
if you had a single = or @ in the text, it would be escaped.
No that shouldn't happen as the only text to be escaped are:
PRDocumentParser buildTextMatcher keys => #('__'
'''''' '==' '*' '{{{' '--'
'^^' '@@' '+' '""')
PRWikiWriter write: (PRDocumentParser parse: ' my address is nick.ager(a)gmail.com
') => ' my address is nick.ager(a)gmail.com '
All it means is that if you want to escape '@@' you can escape it as '\@\@\
or '\@@', but it escaper will now escape it as '\@\@' so:
PRWikiWriter write: (PRDocumentParser parse: ' annotations start with: \@@ ')
=> ' annotations start with: \@\@ '
and:
PRWikiWriter write: (PRDocumentParser parse: ' annotations start with: \@\@ ')
=> ' annotations start with: \@\@ '
Nick
--
Lukas Renggli
www.lukas-renggli.ch