Type Property (Deprecated)
Format new RegExp (pattern matching string, optional)
Commentary
The last parenthesized substring match, if any. No QC2 code sample.
Sample code - QC 3 JavaScript
function (__string output) main ()
{
var result = new Object();
var str = "Visit cybero.co.uk (now [and then])";
var pattern = new RegExp("(then)", "g");
pattern.test(str);
result.output = "Last parenthesized substring is: " + RegExp.lastParen;
return result;
}