Authorization Policy - URL Conticion - Query string

I'd like to define an Authorization Policy that executes an action if the URL contains the parameter  "passwordExpired=true".

I read at the documentation:

The URL query strings can also be used in comparisons. Select Regular Expression Match to implement it. For example, if you want to match against a query string parameter xyz, whose value is abc, you need to enter the following regular expression in the Data Entry field:


So, I created a policy with an URL condition that matches the regular expression:


So I expect it should evaluate true with the following URL:

I can't get it to work, and looking at the log, it seems it only evalutes the URL without the query parameter:


Anyone know if this should work?