Simplewiki version 1.1

7 views
Skip to first unread message

Henrik Bechmann

unread,
Oct 22, 2012, 2:44:59 PM10/22/12
to simpl...@googlegroups.com
All,

I've just released Simplwiki version 1.1. See simplewiki.org.

It includes use of PHP namespaces (therefore requires php 5.3+).

It also corrects that annoying hack that was required to allow any characters in decoration argument values. So now you can write, properly:

$simplewiki->parser()->argchars('(?s:.)');//include any characters including linefeeds

Note that the '?s:' (ie 'including linefeeds') is required.

Also note that these two changes mean that version 1.1 is not compatible with version 1.0, so some integration effort will be required.

simplewiki has been used pretty intensively on publiccommons.ca, and I haven't had any problems with it for many months, now, so it appears to be very stable.

Best, 

- Henrik

Henrik Bechmann

unread,
Oct 25, 2012, 7:06:12 PM10/25/12
to simpl...@googlegroups.com
I've just made a minor correction to the parser. I've added a lazy quantifier to the macro and block_macro regex, the absence of which causes the parser to crash in certain circumstances in the presence of the ('(s:.)') argchar expression.

If you've downloaded before this message, then download again, or just update parser.php.

- Henrik
Reply all
Reply to author
Forward
0 new messages