I'm not clear what you mean by:

'but I can't work out how to refer to a variable in the lookaheadRegExp part'

since you already seem to refer to it in:

this.lookaheadRegExp

Martin

2009/2/2 overett1 <[email protected]>:
>
> I've created a plugin that converts certain rule references in tiddler
> text into links to the online rulebook. You can see it at
> http://jos.tiddlyspot.com/#%5B%5BHandbook%20test%5D%5D.
>
> The rule references can begin with one of 50 capitalised rulebook
> 'module' references. The list of modules changes over time and to
> avoid having to amend the plugin I'd like to put the list of modules
> into a config variable. (Ultimately having a tiddler with a list of
> the module references would be perfect, but one step at a time.)
>
> That works fine for the 'match' part of the formatter, but I can't
> work out how to refer to a variable in the lookaheadRegExp part.
>
> Grateful for any pointers. You can see the plugin formatter at
> http://jos.tiddlyspot.com/#HandbookReferencePlugin.
>
> Thanks in advance.
>
> Jonathan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to