[dokuwiki] back references in syntax plugin regex?

  • From: Simon Elliot <hendrybadao@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 02 May 2010 19:34:16 +0200

Just a simple question for the experts out there: is it possible to use back references in a syntax plugin regex pattern? I'm trying to look for words with tripled letters at the beginning, i.e. the first 3 characters are the same, e.g. aaa bbb ccc, etc... I'm using the following regex, but it is not being recognised by the lexer:


"\w\1\1\w+"

Am I doing something wrong or is it just not possible?

Many thanks for your help,

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

Other related posts: