Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for tab escape charcter missing. #3163

Closed
cemeceme opened this issue May 14, 2024 · 1 comment · Fixed by #3170
Closed

Support for tab escape charcter missing. #3163

cemeceme opened this issue May 14, 2024 · 1 comment · Fixed by #3170
Labels
starter Good starter issues.

Comments

@cemeceme
Copy link
Contributor

It is possible to create a string with a newline using \n in please strings, but not for a tab character with \t.
It is however still possible to use a literal tab character in string declarations to get the same effect, but saying that that is unreadable is putting it mildly.

For instance stringWithTabs.lstrip(" ") is the current workaround to the missing tab escape character, which would much more legibly read stringWithTabs.lstrip(" \t") with the escape character.

@peterebden
Copy link
Member

Yup agreed, this is just an oversight. Shouldn't be a hard fix - would be a nice small issue for someone newer to the codebase to pick up (either on our internal team or someone external)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
starter Good starter issues.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants