Please find on https://github.com/Skeeve/TiddlyWiki5/tree/regexp_filter an 
implementation of regexp filters.

The filter can be applied to any field (even "text", "title" and "tags"). 
For this I included my last 
proposal<https://groups.google.com/forum/#!topic/tiddlywikidev/rP7wj8g-mPI>which
 allows the "colon" to declare a word to be a field.

The regular expression is written exactly the same way one would write them 
in JavaScript or Perl.

To give some examples:

modules-used:[/core/]
search tittlers having a field "modules-used" which contain a value having 
the substring "core"

text:[/FireFox|jEdit/]
search tiddlers containing the word "FireFox" or "jEdit"

title:[/widget/i]
search tiddlers having a title containing "widget" ignoring case so 
"Widget" or "WIDGET" will also match

You can check the new search functionality on 
http://tiddlystuff.tiddlyspot.com in "RegExpFilter"

I didn't implement any replacement functionality as I can't think of a good 
use case. Maybe somone here has one and can explain?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to