Turning on View patterns to use expressions in pattern matching, looks
like the only way to do some things with Text.