> I was trying to use TiddlerTweakerPlugin to replace
===<linebreak>(\+\+\+\[SomeText\].+?===)
> as the regexp syntax
\1<linebreak>===
> However, TiddlerTweakerPlugin does not seem to recognize the grouping
> syntax of regexp to use the shortcut "\1" to represent the whole string to
> be kept, and in the result of replacement, "\1" appears literally. But I
> hoped that I can get
You were VERY close! Instead of "\1" , "\2", etc., javascript regexp
uses "$1", "$2", etc. as replacement markers
Thus:
===<linebreak>(\+\+\+\[SomeText\].+?===)
replace with:
$1<linebreak>===
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://www.TiddlyTools.com/#Donations
Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact