Prefix regex

This allows for RegExp as inputs for `.prefix()` and `.prefixValue()`.