stStart);
  assert(hostStart &lt;= portStart);
  assert(schemeEnd &lt;= pathStart);
  assert(portStart &lt;= pathStart);
  assert(pathStart &lt;= queryStart);
  assert(queryStart &lt;= fragmentStart);

  bool isSimple = indices[_notSimpleIndex] &lt; start;

  if (isSimple) {
    &#47;&#47; Check&#47;do normalizations that weren&#39;t detected by the scanner.
    &#47;&#47; This includes removal of empty port or userInfo,
    &#47;&#47; or scheme specific port and path normalizations.
    if (hostStart &gt; 