*Example of using the Negated Character Class*

Very useful regex syntax. Often much more economical than using a positive 
character class.

Match titles NOT starting "$"

*^[^\$]*


*"^"* = start of scope, in this case the start of the title field
*"[^"* = inside a character class, in first position, *"^"* means "match 
the negation" of the following character(s)
*"\$"* = match the character "$" literally
*"]" *= close character class

To use this in a filter the regex pattern needs to be put into a variable 
and then invoked. See example here: 
https://groups.google.com/d/msg/tiddlywiki/TOUdt8ZjTa4/5v3wiF6fAQAJ

You can test it at Mohammad's regex documentation site: 
http://tw-regexp.tiddlyspot.com/#RegExp%20Experimentation%20with%20Title

TT

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/51b95aba-4633-421f-a3f4-792669912fac%40googlegroups.com.

Reply via email to