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

Implement toupper and tolower (or general char translation?) in regsub #34

Open
dirk-zimoch opened this issue Apr 29, 2019 · 1 comment
Assignees

Comments

@dirk-zimoch
Copy link
Member

dirk-zimoch commented Apr 29, 2019

Mybe use PowerGrep syntax: \U1 = toupper(\1), \L1 (tolower), \F1 (first char upper rest lower) \I1 (first char of each word upper rest lower)
Also allow more than 9 sub-expressions. \{4}2 vs \42 vs to substitute 4th match followed by 2 instead of 42nd match.
Separate translate format? Example %|[a-z]|[A-Z]|

@dirk-zimoch
Copy link
Member Author

\Un \Ln \un \ln with n=0...9 for toupper/lower whole subexpression/first letter implemented in commit ed30011.

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

No branches or pull requests

1 participant