Used information_schema instead of bare-metal catalog lookups
Added regex support for both pattern and relation matches.