Problem with regexp since 1.1


(matteosister) #1

Hi everybody and thanks in advance.

I’ve got two goals that match an url with regexp.

It used to work since I’ve updated to 1.1 branch.
The regexp must match url like:

http://www.mysite.com/article/the-title

and not:

http://www.mysite.com/article/miss-login/the-title
http://www.mysite.com/article/buy/the-title

The expression that used to work is:

(.)/article/(?!miss-login|buy)/(.)

but it doesn’t work anymore…

any ideas?

Matt.


(Matthieu Aubry) #2

There is a bug: Goal matching regex - test for regression · Issue #1991 · matomo-org/matomo · GitHub - stay tuned for a patch in this ticket soon