[dokuwiki] Re: Hacking to recognise line break?

sports tg wrote:
I tried changing the RegEx to
'(?<!^|\n) *\n(?!\n)'
but it did not work.

Tom.

On 25/05/06, sports tg <sportstg@xxxxxxxxx> wrote:

You rock man! That all seems mighty fine and a breeze to "install".
Testing on a couple of documents looks good, but then I found one where it
didnlt work, examining it it seems that there is a space between the end of
the line and the line feed character for all of the lines - perhaps the
regular expression could be adjusted to allow for this?



A space preceding the end of the line should have no effect - it works fine for me. To explain the pattern in DokuWiki terms,

match a newline when it isn't preceded by a new line or followed by a new line. Also don't match if the new line is immediately preceded by a match with another syntax mode.

Can you send me a copy of the page or point me at the link.

Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: