regex - Help decoding a regular expression for use with Google Analytics -


update

i missed in original explanation. set yesterday, , ran on night. no data populated in profile overnight. so, either regex wrong, or google cannot see internal traffic ips.

it seems has own variation on syntax regular expressions.

i'm trying include internal traffic on 1 of profiles in google analytics

enter image description here

can verify me expect regular expression match? in cider notation?

i don't know cider notation is, regex matches string that

  • starts 10.
  • followed 90. or 60.
  • followed 10 or 9
  • followed 0 or more dots.

you want ^10\.[96]0\.(10|9)\..*$

since last bit (.*) bit vague (unless know there ever valid ip addresses in live data), might want change \d+ or (if want restrict valid range 0 255) 25[0-5]|2[0-4]\d|1?\d?\d


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -