Removed superfluous brackets in regex

 The outer brackets are just another grouping
Switch from instanceof to method_exists.

This change lets custom loggers implement scopes without inheriting from
BaseLog.
Merge pull request #1135 from ravage84/my-regex

Removed superfluous brackets in regex