Go – regex inside loop

Issue I have a file with a list of 600 regex patterns that most be performed in order to find a specific id for a website. Example: regex/www\.effectiveperformanceformat\.com/5 regex/bam-cell\.nr-data\.net/5 regex/advgoogle\.com/5 regex/googleapi\.club/5 regex/doubleclickbygoogle\.com/5 regex/googlerank\.info/5 regex/google-pr7\.de/5 regex/usemarketings\.com/5 regex/google-rank\.org/5 regex/googleanalytcs\.com/5 regex/xml\.trafficmoose\.com/5 regex/265\.com/5 regex/app-measurement\.com/5

Continue reading