Implement LWG Issues #2329 and #2332 - disallow iterators into temporary regexes and regexes into temporary strings