There is a easy way to validate the regular expressions and also the trait rule itself, without having to wait. In the Audience Manager UI, in the Trait Builder tab, you will see a "Test Event" section.
You can enter a URL there, containing the desired signals (key/value pairs) and click "Test" to see if the trait matches. The "Test Event URL" would something like this for your sample:
See screenshots below and let me know if it works.
Thanks for the sample code stenebro. I've investigated and the issue seems to be triggered by the trait rule itself. As you can see in the screenshot below, there is a trailing space in the regular expression. This means the regex processor expects the input value to end with a space (which might not happen in your case). You can go on the Audience Manager UI, go on the trait, edit its trait rule and remove the trailing space. Save the changes and give it a try.