Test Str.trans with anchored regex, and with look-behind regex