http://trac.tiddlywiki.org/changeset/9794

FND
2009-05-27 09:52:27 +0000 (Wed, 27 May 2009)
141
simplified rawText formatter's match RegEx

There's no need for a leading (escaped) backslash.

This has led to confusion (cf. ticket #1063).

---------------

U   Trunk/core/js/Formatter.js

---------------

Modified: Trunk/core/js/Formatter.js
===================================================================
--- Trunk/core/js/Formatter.js  2009-05-27 09:50:41 UTC (rev 9793)
+++ Trunk/core/js/Formatter.js  2009-05-27 09:52:27 UTC (rev 9794)
@@ -496,7 +496,7 @@
 
 {
        name: "rawText",
-       match: "\\\"{3}|<nowiki>",
+       match: "\"{3}|<nowiki>",
        lookaheadRegExp: /(?:\"{3}|<nowiki>)((?:.|\n)*?)(?:\"{3}|<\/nowiki>)/mg,
        handler: function(w)
        {

--~--~---------~--~----~------------~-------~--~----~
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