I cannot find any spec for how RegExp.$1 etc should work. It is not part of the 3rd edition but all user agents seems to implement this. Is there a spec for this somewhere? Should this be added to edition 4? -- erik