Sorry, regex may have been misleading.  I meant that it works by
string matching rather than dom matching, using javascript's indexOf
method.  Function locateStoreArea from Saving.js starts with
        var posOpeningDiv = original.indexOf(startSaveArea);
        var limitClosingDiv = original.indexOf("<"+"!--POST-
STOREAREA--"+">");


On Jan 5, 3:59 pm, FND <[email protected]> wrote:
> > I've been exploring the tiddlywiki code, and I am trying to understand
> > why the "store area" of the file is identified using regular expressions
>
> Can you specify the code you're referring to?
> I couldn't find any such RegEx, but only this:
>      http://trac.tiddlywiki.org/browser/Trunk/core/js/main.js#L42
>      http://trac.tiddlywiki.org/browser/Trunk/core/js/TiddlyWiki.js#L393
>
> -- F.
--~--~---------~--~----~------------~-------~--~----~
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