Named string regex patterns.

Closes #439.