Support OR condition in url-filter

I have a list keyword want to block. I want to write a single rule to block them. For example, I want to block "foo", "bar" or "funny". As url-filter is regular expression. I tried to write rule as below but seems not working.

// Not working
{
  "trigger": {
   "url-filter": "foo|bar|funny"
   }
}

// Not working either
{
  "trigger": {
   "url-filter": "(foo|bar|funny)"
   }
}

Any idea to support OR condition in url-filter ?