When I apply a Matching RegExp advanced filter to a standard Site Content > All Pages report, the regular expression seems to be ignoring case sensitivity. The screenshot attached shows a very simple example - a search for 'Search' returns results including 'search'.

My understanding was that regular expressions were case sensitive unless specified otherwise. In Googling for answers I found lots of docs that say that Analytics regexp matching is case sensitive, but that doesn't seem to be true for me.

Am I misunderstanding something or are regular expressions in these reports not actually case sensitive by default? Is there a way of making it case sensitive?

Thanks in advance!


Upper case query and lower case regexp matches - what's going wrong??

  • AFAIK, the Advanced Search filter is not case sensitive (based on my own tests). – nyuen Feb 2 '15 at 17:54
Case sensitivity — Regular expression matching is case-insensitive.

source: https://developers.google.com/analytics/devguides/reporting/core/v3/reference

Solution: export data (e.g. Excel)

  • Ah, thanks! I hadn't found that bit of the docs. I'm sure I found other pages that said they are case sensitive, but I can't find those now so must have imagined it. – DJW Feb 4 '15 at 22:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.