[Framework-Team] Re: wicked stuff

2007-07-16 Thread whit
Martijn Pieters wrote: On 7/16/07, Martijn Pieters <[EMAIL PROTECTED]> wrote: If the one-group limitation were removed, the pattern would be: pattern = re.compile( # Opening brackets or parens r'(?: (?P\(\() | \[\[ )' r'(?P [\w\W]+?)' # the text between the bracket

Re: [Framework-Team] Re: wicked stuff

2007-07-16 Thread whit
Alexander Limi wrote: On Sun, 15 Jul 2007 19:16:17 -0700, Alexander Limi <[EMAIL PROTECTED]> wrote: Related, I hope I didn't break any doctests by cleaning up the markup, I was unable to run the tests — here's the output I got when I tried: After installing lxml and invoking the tests diffe

[Framework-Team] Re: wicked stuff

2007-07-16 Thread whit
Alexander Limi wrote: On Tue, 10 Jul 2007 12:12:13 -0700, whit <[EMAIL PROTECTED]> wrote: I also added multiple pattern support( ie [[]] or (()) ). Whichever pattern matches first is used for the whole block of text. I'm not sure this is the preferred behavior, but it was much faster to i

Re: [Framework-Team] Re: wicked stuff

2007-07-16 Thread Martin Aspeli
Alexander Limi wrote: On Sun, 15 Jul 2007 18:40:48 -0700, Alexander Limi <[EMAIL PROTECTED]> wrote: I also tried slimming down the markup and making it consistent with how other wikis work, as well as the Plone link class standard (non-existant pages are red, add links have the entire link

[Framework-Team] Re: wicked stuff

2007-07-15 Thread Alexander Limi
On Sun, 15 Jul 2007 19:16:17 -0700, Alexander Limi <[EMAIL PROTECTED]> wrote: Related, I hope I didn't break any doctests by cleaning up the markup, I was unable to run the tests — here's the output I got when I tried: After installing lxml and invoking the tests differently, I get closer,

[Framework-Team] Re: wicked stuff

2007-07-15 Thread Alexander Limi
On Sun, 15 Jul 2007 18:40:48 -0700, Alexander Limi <[EMAIL PROTECTED]> wrote: This confused me at first, since one of the formats was working, but not the other — and until I read your post, I didn't understand why. I guess it's unlikely to come up in real-life, but people on plone-dev (CCe

[Framework-Team] Re: wicked stuff

2007-07-15 Thread Alexander Limi
On Sun, 15 Jul 2007 18:40:48 -0700, Alexander Limi <[EMAIL PROTECTED]> wrote: I also tried slimming down the markup and making it consistent with how other wikis work, as well as the Plone link class standard (non-existant pages are red, add links have the entire link clickable, but with a

[Framework-Team] Re: wicked stuff

2007-07-15 Thread Alexander Limi
On Tue, 10 Jul 2007 12:12:13 -0700, whit <[EMAIL PROTECTED]> wrote: I also added multiple pattern support( ie [[]] or (()) ). Whichever pattern matches first is used for the whole block of text. I'm not sure this is the preferred behavior, but it was much faster to implement(and the code is

Re: [Framework-Team] Re: wicked stuff

2007-07-10 Thread whit
I stole from createObject, then from some pf code in opencore, but I'm mystified why neither works. I'd suggest that we leave this issue open but downgrade. Arguably, it should never have been critical in the first place. sounds good to me. hopefully soon things will move away from ol'pf.

[Framework-Team] Re: wicked stuff

2007-07-10 Thread Martin Aspeli
Hi Whit, In the interest of getting releases out ... do you have any comment on https://dev.plone.org/plone/ticket/6284? a couple(nouri looked at this a while a back and I've been playing with it yesterday and today). Thanks for being so quick. :) Technical comments:: I hacked together s