[dokuwiki] Re: back references in syntax plugin regex?

  • From: Elan Ruusamäe <glen@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 4 May 2010 20:07:48 +0300

On Tuesday 04 May 2010 14:39:10 Simon Elliot wrote:
> Ahhh... if only it were that simple!  Thanks for the thought, but the
> regex: "\w{3}" would mean any 3 alphanumeric word characters, not the same
> character repeated 3 times.  So it would recognise "abc" "iou "imo" etc...,
> as well as 'aaa', 'bbb'.

whoops, you're right! but you can still do (\w)\1{3} i suppose :P

-- 
glen
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: