[pmwiki-users] `WikiWord disables WikiWord ?
John Rankin
john.rankin at affinity.co.nz
Fri Jul 29 00:46:56 CDT 2005
On Friday, 29 July 2005 5:02 PM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>On Fri, Jul 29, 2005 at 02:33:33PM +1200, John Rankin wrote:
>> ## require 2 lower and upper case characters for a WikiWord
>> $WikiWordPattern =
>'[[:upper:]][[:alnum:]]*(?:[[:upper:]][[:lower:]0-9][[:lower:]0-9]|[[:lower:]0-9][[:lower:]0-9][[:upper:]]|[[:lower:]0-9][[:upper:]]+[[:lower:]0-9])[[:alnum:]]*';
>>
>> Yuck!!
>
>I think this is a shorter version, although it's still "yuck".
>:-)
>
>$WikiWordPattern =
>'[[:upper:]](?=[[:lower:]0-9]*[[:upper:]])[[:upper:]]*[[:lower:]0-9][[:upper:]]*[[:lower:]0-9][[:alnum:]]*';
>
>Pm
>
What does ?= mean, exactly?
InTo appears to be not allowed, when it should be.
But this stuff makes my brain hurt.
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list