Re: [pmwiki-devel] PmWiki security

2009-08-26 Thread Simon
Good point, thankyouso long since I have been there. Does raise an interesting point though, should the edit action be disabled for that page? Simon 2009/8/26 Hans desi...@softflow.co.uk Wednesday, August 26, 2009, 11:47:14 AM, Simon wrote: When I try to access a GroupAttributes page

Re: [pmwiki-devel] PmWiki security

2009-08-26 Thread Petko Yotov
On Wednesday 26 August 2009 13:07:16 Simon wrote: Good point, thankyouso long since I have been there. Does raise an interesting point though, should the edit action be disabled for that page? If we lock that page for editing, the whole group will be locked. :-) So, probably, no it shouldn't.

[pmwiki-devel] regex question

2009-08-26 Thread Hans
I need a regex which finds text with open [@ markup bracket in a text string. It should match for instance abcd1...@xyz but not abcd1...@xyz@] Basically I want to remove open [@ character pairs from a text line. Can someone help please? Hans ___

Re: [pmwiki-devel] regex question

2009-08-26 Thread Patrick R. Michaud
On Wed, Aug 26, 2009 at 06:07:02PM +0100, Hans wrote: I need a regex which finds text with open [@ markup bracket in a text string. It should match for instance abcd1...@xyz but not abcd1...@xyz@] Basically I want to remove open [@ character pairs from a text line. Can someone help

Re: [pmwiki-devel] regex question

2009-08-26 Thread Hans
Wednesday, August 26, 2009, 6:48:17 PM, Patrick wrote: /\[@(?...@\])/ Broken down: / \[@ (?! .* @\] ) / The first part finds [...@. The (?!...) is a negative lookahead. The .* and @\] look for any subsequent @]. negative lookahead! works great, thanks! Hans