regular expressions in resources list

Problem:
  It is very uncomfortable to enumerate all resources on large poll.

Solution:
  Allow use regular expressions for resource name. For backward
  compatibility, full name is always checked first. If it is not
  found, regex is applied.