I would like to use the useragent context to select useragent "Mobile" and then create contexts that are NOT that useragent to prevent reactions, blocks for example, from being used on that context. Currently the Mobile context will still pull in items from any other context, based on the conditions.

I hope this made sense.

-Trent

Comments

nicholas.alipaz’s picture

Category: feature » support

it is a regular expression, so you can do what you are saying I am sure. Just research regular expressions a little more.

nicholas.alipaz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

escoles’s picture

FYI, negative lookarounds (e.g. "(?!foo)") do not work. You need to find some other method.

Here are a couple suggestions at StackOverflow:

http://stackoverflow.com/questions/1240275/how-to-negate-specific-word-i...

http://stackoverflow.com/questions/977251/regular-expressions-and-negati...

The expressions are extremely complex. To anyone trying to do this: Unless the ability to negate the expression has been added, I suggest finding another solution.