Just today I've read something formal about Machine Tags or Triple Tags. This is
the page
Triple tags are formed by a namespace, a predicate and an optional value. The syntax is:
| Code: |
namespace:predicate="optional value"
|
That can introduce interesting possibilities in Tagsistant. As an example, you'll be able to tag your files by language with a tag like "language:en" or "language:it".
But using a namespace every time can be annoying. So Tagsistant could just treat a generic tag using the regular expression:
| Code: |
/^([^:]+:)?([^=]+)(=.*)?$/
|
If you are unfamiliar with regular expressions, that basically means that the namespace and the value are both optional, using an implied "default" namespace if not provided.
So the tag "rock" is a shortening of complete tag "default:rock". How about that?