I found this code:
var k= 'test';
var m = document.cookie.match(k+'=([^;]*)');
and I'm trying to get which cookies will be read.
Normally there is a leading slash in the regex like: x.match (/\d+/g); but not
here, so my question is how has the cookie to look like?