I am attempting to match a regular expression in a file. When I check it with a regex validator, it appears that the regex is correct. When I use it in the VC function, along with a sample string, the output shows the regex match variable syntax at the beginning and end.
This is how I'm using it:
{REGEX(Match|{TASK(4c4ff35d-8c8a-4ad9-8954-f997ed58407d|StdOut)}|\[404\].+//.+(/.+)\])}
A pattern match would look something like this:
[404] for URL [http://host/path/path/en-path/path/file.file_file.1.en-file.ext]
I've also tried using a sample string directly from the file in the value preview pane, and using the file content variable, which would be the preferable way to get the file content, with the same results.
The beginning and the end of the output looks like this, with a small bit of the file content in between:
{REGEX(Match|[2009/05/21 23:59:55.545] 11A4 <<< DebugLog Start(98 bytes sent, 5410|\[404\].+//.+(/.+)\])}
Edited by user
2009-05-23T04:49:31Z
|
Reason: Not specified