lower(str) returns a copy of str with all letters converted to lowercase.
Signature
Example
Normalize a branch name to lowercase before using it as a Docker image tag. Branch names may contain uppercase letters from conventions likefeature/UserAuth, which are not valid in image tag format:
feature/UserAuth becomes feature-userauth.
Notes
lowerconverts all Unicode letters, not just ASCII.- Pair
lowerwithreplaceorregexreplaceto sanitize strings for use in identifiers, tags, or filenames.