JS exec() method warning

In Servoy 6.04 (Mac OS x 10.7.2, JDK 1.6) I am using the RegExp method .exec() to test a RegExp against a text page. I need to get the .index property of the resulting array to know where the searched RegExp starts. This is the code

var pageAB = plugins.http.getPageData('http://xxxxxxxxx');
var regSearch = /(<tr>\n|<tr\ bgcolor="#F2F2F2">\n)<td\ ((bgcolor=\"(#5ADAF9|#60E0FF)\"\ rowspan=\"[0-9]\")|(rowspan=\"[0-9]\" bgcolor=\"(#5ADAF9|#60E0FF)\"))><big><b><a href=\"[\s|\S]*?\"\ title=\"[\s|\S]*?\"(class=\"bg-redirect\")*>[\s|\S]*?<\/a><\/b><\/big><\/td>/g;
var pageIndexes = [];
var pageExec = [];
while(pageExec){ 
pageExec = regSearch.exec(pageAB)
if(pageExec != null)
{
	pageIndexes.push(pageExec.index);
}}

While the results are correct (the indices for all the found occurrences of the RegExp) I always get a warning for pageExec.index ```
The property index is undefined for the javascript type Array

This should work:

/** @type {{index:Number}} */
var pageExec = [];

thanks, that works. I tried

/** @param {{index:Number}} */
var pageExec = []

I imagine I should better study JSDoc syntax.