Skip to content

Instantly share code, notes, and snippets.

@preaction
Created May 14, 2017 11:08
Show Gist options
  • Select an option

  • Save preaction/b73eaaa83b1e372cebd7c2a5b263d649 to your computer and use it in GitHub Desktop.

Select an option

Save preaction/b73eaaa83b1e372cebd7c2a5b263d649 to your computer and use it in GitHub Desktop.
The following escape sequences are available in constructs that
interpolate, but not in transliterations.
\l lowercase next character only
\u titlecase (not uppercase!) next character only
\L lowercase all characters till \E or end of string
\U uppercase all characters till \E or end of string
\F foldcase all characters till \E or end of string
\Q quote (disable) pattern metacharacters till \E or
end of string
\E end either case modification or quoted section
(whichever was last seen)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment