Finding Clips Using Regular Expressions - 360 Systems MAXX-1200-HD Operation Manual

High definition video servers
Table of Contents

Advertisement

Finding Clips Using Regular Expressions

A regular expression ("RE") specifies a pattern to be matched in a clip name.
Regular expressions can contain both special and ordinary characters. Ordinary characters just
match themselves. Thus, the RE "
so this and any other clip name with "night" in it would be placed in the list of found clips.
The following special characters are supported:
(dot) This matches any single character. "
.
not "acd".
^
(caret) This matches the start of a clip name. To find all clips starting with "xyz", for
example, use the Regular Expression "
$
Match the end of the clip name. To find all clips ending in "xyz" use the RE "
<
Match the beginning of a word. For example "
containing a word that starts with "Show", such as "Now Showing", but not "LateShow".
>
Match the end of a word.
*
Match zero or more repetitions of the preceding character. ".*" will match anything –
"G.*N.*" will match "Georgia Evening News" or "Good Night".
+
Match 1 or more repetitions of the preceding RE term. "
?
The preceding Regular Expression term is optional. "
not "adc".
[ ]
Used to indicate a set of characters. Characters can be listed individually, or a range of
characters can be indicated by giving two characters and separating them by a "
characters are not active inside sets. For example,
"a", "+", or "$".
letter or digit. If you want to include a "-" inside a set, precede it with a backslash ("
or place it as the first character. You can match all characters that are not within the set by
making "
" as the first character of the set; "
^
character. For example,
SPACE
A space is treated as an ordinary character. "
"Tonight Show" or "Now Showing" but not "NewShow". " " will match any clip with a
space in the name.
Page 58
" would match the "night" in the clip name "Tonight Show",
night
^xyz
will match any lowercase letter.
[a-z]
will match any character except "7".
[^7]
" matches "abc", "aac", "a2c" and "a c" but
a.c
".
" will match all clip names
<Show
" matches 00 or 0000, not 0.
0+
" will match "ac" or "abc" but
ab?c
will match any of the characters
[a+$]
[a-zA-Z0-9]
" elsewhere will simply match the "^"
^
" (<space>
Show
MAXX-1200 Owner's Manual
".
xyz$
". Special
-
matches any
"),
\-
) will match
Show

Advertisement

Table of Contents
loading

This manual is also suitable for:

Maxx-1200-ex

Table of Contents