function getCharset (req) {
	  try {
	    return (contentType$1.parse(req).parameters.charset || '').toLowerCase()
	  } catch (e) {
	    return undefined
	  }
	}
Match matching groups in a regular expression.