This internal tool makes it easier for the user to control the regular expression that he uses in the Job Package configuration process.
Regular expressions syntax
Examples
.*sometext.*
Fully matches every line containing the text "sometext".
com
Fully matches every line containing the text "sometext".
Matches: "http://www.darcyripper.com".
Does not match: "http://www.darcyripper.org/download.html".
.*\.com$
Fully matches every line ending with ".com".
Matches: "http://www.darcyripper.com".
Does not match: "http://www.darcyripper.com/download.html".
.*\.com$|.*\.org$
Fully matches every line ending with ".com" or ".org".
Matches: "http://www.darcyripper.com".
Does not match: "http://www.darcyripper.com/download.html".
Special characters:
\
Indicates that the next character is not special and should be interpreted literally;
.
Any character except newline;
\.
A period (and so on for *, (, \, etc.);
?
Zero or one of the preceding element;
*
Zero or more of the preceding element;
+
One or more of the preceding element;
^
The start of the string;
$
The end of the string;
\d,\w,\s
A digit, word character [A-Za-z0-9 ], or whitespace;
\D,\W,\S
Anything except a digit, word character, or whitespace.