Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Good Intentions: Wikisyntax for the Monastery

by LanX (Saint)
on Feb 12, 2016 at 10:07 UTC ( [id://1155058]=note: print w/replies, xml ) Need Help??


in reply to Re: Good Intentions: Wikisyntax for the Monastery
in thread Good Intentions: Wikisyntax for the Monastery

Hi

Thanks for feedback! =)

regarding code sections:

Problem is that JS has no lookbehind assertion for regex.

In order to keep it simple and compatible I'm grabbing the surrounding white spaces too.

If you separate your code by more then one whitespace it works again.

'one'  'two'  'three'

one two three

please note how HTML ignores multiple whitespace.

(This is a very contrived example anyway don't you think? ;)

I could solve this with at least one look ahead assertion, though I'm not sure about incompatibilities. (on todo list now)

Please keep in mind that you can still use the old and consistent markup.

The wiki stuff is more a mix of DWIM and Huffman coding, not a complete replacement. =)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1155058]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-19 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found