EVS IP2Archive Deep Archive Manager Version 3.0 - October 2012 User Manual User Manual
Page 102

Metacharacter Syntax
Operator Name
Description
\
Escape Character
Treat the subsequent
metacharacter in the
expression as a literal.
^
Beginning of Line Anchor
Match the subsequent
expression only when it
occurs at the beginning of a
line.
$
End of Line Anchor
Match the preceding
expression only when it
occurs at the end of a line.
How to Add a New Regular Expression
To add a new content type, proceed as follows:
1. In the Regular Expressions sub-tab, click:
•
to add a record for a new regular expression below the existing regular
expressions.
•
to insert a regular expression between two existing regular expressions.
2. Enter the regular expression string in the Reg. Exp. field. For example, ‘^T.*$’.
3. Select the desired content type from the Content Type field. For example, ‘Teaser’.
4. Enter a comment in the Comments field. For example, ‘The letter T, followed by any
number of characters’.
5. Activate the regular expression by selecting the corresponding check box.
6. Click
to validate the new regular expression. This button only becomes available
once you have added a new regular expression.
Deep Archive Manager adds the new regular expression to the IP2Archive database.
7. Click Save to add the new regular expression definitively to the database or Undo to
return to the state before you added a new regular expression. These buttons only
become available once you have validated the changes.
In the example, Deep Archive Manager will now categorize all archive candidates
whose video file name starts with the letter T followed by any number of characters as
belonging to the content type Teaser.
How to Test a Regular Expression
To test a regular expression, e.g. ‘^T.*$’, type part of the video file name of a clip, e.g. T_
Lonely_In_Paris, in the Test field and then click the Preview button. A popup will appear
indicating the content type the clip belongs to. If the entered video file name string doesn’t
match any regular expression, a warning message will appear.
IP2Archive - User Manual - Deep Archive Manager Version 3.0
6. Configuring the Application
95