Alex Vincent (2014-07-16T07:26:56.000Z)
forbes at lindesay.co.uk (2014-07-16T22:34:58.546Z)
```js r = /\u0020+$/g; p = r.exec(" "); q = r.exec(" "); JSON.stringify([p, q]) // "[[\" \"],null]" ``` Why does calling exec the second time generate null? When I try the regular expression without the /g flag, I get: ```js // "[[\" \"],[\" \"]]" ```