rhub
sign in
map people groups locations

  # ? homehelp

Messaging, Tag Filter Syntax

The tag filter syntax lets you include or exclude messages appropriately tagged. Messages with no tags are always included in the result set. Tags are separated by a space, and there is one modifier, NOT, denoted by a bang (!).

An asterix (*) may be used to denote any tag, and !* used to denote no tags. For example, to match nothing, use !*.

There are two forms of syntax: 1. Inclusive 2. Exclusive

If you'd like to have a play with tag filters to see which messages might get filtered and which won't, visit the Tag Filter Lab.

Contents

[edit] Inclusive

This filter is a list of tags to match against. Any tagged message that does not have at least one of the listed tags will not match. For example, a filter 'chat help' will match messages with 'chat' and or 'help', but will not match against a message tagged 'outnabout'.

Each tag is combined to be an OR relation. e.g, the filter "party chat" equates to "messages with tags party OR chat".

[edit] Exclusive

If the first filter part is prefixed with an ampersand ('&'), operands are combined in an AND fashion. For example, the filter "&!chat party !outnabout" equates to "Messages with 'party', except those also tagged with 'chat' and 'outnabout'

[edit] Examples

[edit] Messages

Message number and tags:

1. party chat outnabout

2. chat

3. outnabout chat

4. outnabout party


[edit] Filters

Filter and matching messages:

"chat" = 1, 2, 3

"party chat" = 1, 2, 3, 4

"party !chat" = 1, 4

"&party !chat" = 4 (exclusive)

"&party chat" = 1 (exclusive)

[edit] Experiment

Visit the Tag Filter Lab to experiment with tag filters.

[edit] See Also

Retrieved from "http://rhub.net/wiki/Messaging%2C_Tag_Filter_Syntax"
Powered by MediaWiki

 

Help! | Console | Getting Started | Sitemap | Search | Feedback | About

Navigation
 
Personal tools

Extra