TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


technote:reg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
technote:reg [2026/02/17 23:48] – [When to Use REG vs LIST] Scott Cunliffetechnote:reg [2026/02/18 00:35] (current) – [See Also] Scott Cunliffe
Line 1: Line 1:
 ====== REG Matching  ====== ====== REG Matching  ======
 +
 +<note warning>Changes made to the Windows registry happen immediately, and no backup is automatically made. Do not edit the Windows registry unless you are qualified and confident about doing so. \\
 + \\
 +Microsoft have issued the following warning with respect to the Registry Editor: \\
 +//"Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to re-install Windows to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk."//</note>
  
 TapeTrack supports matching against a list of patterns stored in the Windows Registry using the special filter prefix: TapeTrack supports matching against a list of patterns stored in the Windows Registry using the special filter prefix:
  
 ''*REG:registry_value_name'' ''*REG:registry_value_name''
 +  * Registry key name
  
 This allows a filter field to be compared against multiple patterns defined centrally in the Windows Registry. This allows a filter field to be compared against multiple patterns defined centrally in the Windows Registry.
Line 23: Line 29:
   * stop as soon as a match is found   * stop as soon as a match is found
  
 +===== Registry Backup =====
 +<note important>Backup the registry before any making any modifications</note>
  
 +Open regedit and create registry backup by right-clicking the top of the registry tree and selecting Export and saving to an appropriate location.
 +
 +{{:master:tapemaster_registry_backup.png}}
 ===== Registry Location ===== ===== Registry Location =====
  
Line 31: Line 42:
  
 Each registry value under this key represents a reusable filter list. Each registry value under this key represents a reusable filter list.
 +
 +<note>If the Key Lists does not exist, it will need to be added in the location 
 +HKEY_CURRENT_USER\Software\GazillaByte\TapeTrack\Lists</note>
  
 ===== Example ===== ===== Example =====
Line 53: Line 67:
 <code> ProdFilters </code> <code> ProdFilters </code>
  
-With the following data (semicolon-separated):+With the following data (semicolon-separated, no spaces):
  
-<code> *prod*;*PRD*;*production* </code>+<code>*prod*;*PRD*;*production* </code>
  
 +{{reg_filter_keys.png}}
 ==== Using the REG Filter in TapeMaster ==== ==== Using the REG Filter in TapeMaster ====
  
 To filter the Description field using the registry list: To filter the Description field using the registry list:
  
-<code> *REG:ProdFilters </code>+<code> *REG:ProdFilter </code> 
 + 
 +{{reg_filter_prod.png}}
  
 This will match any Description containing: This will match any Description containing:
  
-"prod" +  * prod 
- +  PRD 
-"PRD+  production
- +
-"production"+
  
 ===== Expected Matching Results ===== ===== Expected Matching Results =====
Line 75: Line 90:
 Using the filter: Using the filter:
  
-<code> *REG:ProdFilters </code>+<code> *REG:ProdFilter </code>
  
 The following descriptions would typically match: The following descriptions would typically match:
Line 111: Line 126:
   * reusable filter definitions are required across multiple tools   * reusable filter definitions are required across multiple tools
  
-===== Summary ===== +REG filtering provides a centralized, reusable method of matching a field against multiple wildcard patterns stored in the Windows Registry.  It behaves the same as LIST filtering, but stores the pattern list inside:
- +
-REG filtering provides a centralised, reusable method of matching a field against multiple wildcard patterns stored in the Windows Registry. +
- +
-It behaves the same as LIST filtering, but stores the pattern list inside:+
  
 <code> HKEY_CURRENT_USER\Software\GazillaByte\TapeTrack\Lists </code> <code> HKEY_CURRENT_USER\Software\GazillaByte\TapeTrack\Lists </code>
  
 This makes it ideal for controlled environments where filter rules need to be maintained per user or workstation. This makes it ideal for controlled environments where filter rules need to be maintained per user or workstation.
 +
 +
 +=====See Also=====
 +
 +[[general:pattern_matching|pattern matching]] \\
 +[[technote:list|LIST Matching \\
 +[[technote:FUZZY|FUZZY Matching]] \\
 +
 +
 +{{tag> technote pattern string}}
technote/reg.1771372117.txt.gz · Last modified: 2026/02/17 23:48 by Scott Cunliffe