Fix entries for non-matches in the results array of RegExp.exec
authorSimon Hausmann <simon.hausmann@digia.com>
Thu, 17 Jan 2013 13:28:31 +0000 (14:28 +0100)
committerLars Knoll <lars.knoll@digia.com>
Thu, 17 Jan 2013 14:12:18 +0000 (15:12 +0100)
commit1197d224fb741706ade9c2da38fb9a0557c94a8e
tree25bf39cd5257009d951948ab6baaa05b339002c5
parent790156d2a90e2fbe532d43a616704ec161b6bfb4
Fix entries for non-matches in the results array of RegExp.exec

A capture that failed to match should result an entry in the
results array with value undefined.

Change-Id: I08fedfc59cda752b209e79ff8abf7ee105a0c527
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
qv4ecmaobjects.cpp
tests/TestExpectations