core: support passing a regex to select
v0.0.72 - select accepts a RegExp