Implement selectors

Doesn't match decimals, which are allowed.