just a quickie here..can anyone think of a regex to match the "array_name" portion of a an array/subscript reference like this (its a substitution, btw):
but for some annoying reason, that matches everything but the last character of the array name (the first '\w' in the expression) and it also matches a normal variable like '$variable'..so its obvious im doing something horribly wrong.
thanks