Mario, I like the way you have linked to the lines of code in GitHub, I think it is a really useful practice and an opportunity to direct people towards the code.
It is evident that String.js is the home of many functios for manipulating strings. As it says at the top if the file ... //-- Augmented methods for the JavaScript String() object Intimidate level TiddlyScholars might want to look the Javascript String object [1] and prototype string [2] thanks for starting a mini learning loop (TiddlyLearningLoop?) for me ;) Alex [1] http://www.w3schools.com/jsref/jsref_obj_string.asp [2] http://www.w3schools.com/jsref/jsref_prototype_string.asp On 22 February 2012 08:09, PMario <[email protected]> wrote: > TW interprets > [[[three brackets]]] > like > tag[0] = [[[three brackets]] shown as [three brackets > tag[1] = ] shown as ] > > see your >> tagList[16] = "[[three brackets]]" > > As Eric said: there is a core function that does the same. The core > extends the string prototype [1] with readBracketedList(unique). So if > you set unique to true, tags that are doubled, will be filtered. > readBracketedList calls this.parseParams() [2] which does the regexp > stuff. > > -m > > [1] https://github.com/TiddlyWiki/tiddlywiki/blob/master/js/Strings.js#L184 > [2] https://github.com/TiddlyWiki/tiddlywiki/blob/master/js/Strings.js#L96 > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" 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/tiddlywiki?hl=en. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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/tiddlywiki?hl=en.

