code: function(s) {
      try {
          const re = new RegExp(s);
          return re.source;
      } catch (ex) {
          normalizeRegexSource.message = ex.toString();
      }
      return '';
  }
docs: *************************************************************************** Local helpers