Quote:
Originally Posted by CS-Jay
who don't you do a print_r($matchedtext) to see what's in there?
|
print_r($matchedtext) returns:
Array ( [0] => a [1] => a [2] => [3] => )
My understanding is matchedtext[0] is supposed to return the complete string matched, matchedtext[1] is supposed to return the substring which starts at the first left parenthesis, matchedtext[2] the next and so on. For some reason matchedtext[2] is not returning the letter "c" as I would expect.