Ah I missed the tooltip that said it was regex based. That's even more helpful thanks! It might be better if there was a message when the regex doesn't work.
Just for completeness, I resolved my issue with the escape character "\?". On Friday, July 26, 2013 5:00:51 PM UTC+1, Eric Shulman wrote: > > > > On Friday, July 26, 2013 6:30:19 AM UTC-7, Aquilai wrote: >> >> Can you confirm that the replace text function doesn't work with the >> question mark "?" symbol? Is there a workaround for this? >> >> TiddlerTweakerPlugin "replace text" function uses standard javascript > "regular expression" syntax for specifying the text *pattern* to match. > Here's a good reference for "special characters in regular expressions: > > > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp > > note particularly the usage of "?": > ------------------ > Matches the preceding item 0 or 1 time. For example, /e?le?/ matches the > 'el' in "angel" and the 'le' in "angle." If used immediately after any of > the quantifiers *, +, ?, or {}, makes the quantifier non-greedy (matching > the minimum number of times), as opposed to the default, which is greedy > (matching the maximum number of times). > ------------------ > > Perhaps you are using the "?" incorrectly within your pattern. Unlike the > use of "?" and "*" as 'wildcard symbols' in filenames, javascript regular > expressions use the "." (dot) symbol to match a single "wildcard" > character. You can make that character optional (0 or 1 instances) by > adding a "?" following it (i.e., ".?"). You can match any number of > characters (0 or more) by adding a "*" suffix following the dot (i.e, ".*") > > 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 > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/groups/opt_out.