The Labels tab on the Folder Options dialog lets you define wildcard labels and label filters that are only active when this folder format is used. It lets you apply labels to files and folders under specific folders without having to use them globally.
Use the toolbar buttons at the top to assign new labels:
The above screenshot shows a label filter that will color red any files or
folders that are under SVN control and have been modified. It uses a shell
column provided by TortoiseSVN to match the SVN status.
Create a new wildcard label: Labels files and folders based on their names or locations. You can specify a pattern using standard Opus wildcards or regular expressions, and choose whether to restrict the assignment to files, folders or both.
The Match Full Path checkbox decides if the pattern needs to match the whole path or just the folder or file name at the end of the path. This doesn't matter for a wildcard like *.(doc|docx) for matching .doc and .docx files, since the extension is going to be at the end of both the full path and the name. It can matter with a wildcard like A*.doc where in full-path mode it would only match .doc files on A:\ whose names start with any letter, and in name-only mode it would match .doc files whose names start with the letter A in any drive or folder.
Wildcards here can also use the grp: syntax to match file extensions against members of a file type group. For example, this would color anything in the Images group purple:
By default filter and wildcard labels assignments will "stack" on top of each other. One label could change the color of an icon, and another could change the icon itself. You can use the Stop on match option on both wildcard labels and label filters to prevent this from happening. Note that filter and wildcard label assignments can be rearranged to control their priority. The up ( ) and down ( ) buttons let you move label assignments above or below each other.
The labels themselves are configured on the Favorites and Recent / Labels page in Preferences (click the Edit labels link to be taken there automatically). See the Labels page for information on the labels system.