Last analyzed 2c47cdd 4 days ago
Default analysis branch is
Currently analyzing run
Bad usage of RegExp#exec and String#match JS-D007
Performance
5 months ago5 months old
10560                ? q.trim(a)
10561                : "") ||
10562            window.location.href ||
10563            "") && (n.match(/^([^#]+)/) || [])[1]),10564        (o =
10565          /(MSIE|Trident)/.test(navigator.userAgent || "") &&
10566          /^https/i.test(window.location.href || "")
10230      updateKey = response.url.match(/[?|&]update=([^&]+)($|&)/)
10231        ? RegExp.$1
10232        : null;
10233      addElement = response.url.match(/[?|&]add_element=([^&]+)($|&)/)10234        ? RegExp.$1
10235        : null;
10236      $(".webform-ajax-refresh").trigger("click");
10227      a.pathname === window.location.pathname &&
10228      $(".webform-ajax-refresh").length
10229    ) {
10230      updateKey = response.url.match(/[?|&]update=([^&]+)($|&)/)10231        ? RegExp.$1
10232        : null;
10233      addElement = response.url.match(/[?|&]add_element=([^&]+)($|&)/)
10214    // @see https://stackoverflow.com/questions/6944744/javascript-get-portion-of-url-path
10215    var a = document.createElement("a");
10216    a.href = response.url;
10217    var forceReload = response.url.match(/\?reload=([^&]+)($|&)/)10218      ? RegExp.$1
10219      : null;
10220    if (forceReload) {
 6603              });
 6604            } else if (
 6605              drupalSettings.google_analytics.trackOutbound &&
 6606              this.href.match(/^\w+:\/\//i) 6607            ) {
 6608              if (
 6609                drupalSettings.google_analytics.trackDomainMode !== 2 ||