Parse : Split on every uppercase letter.

This commit is contained in:
Dmitry Voronin 2023-12-30 13:19:13 +03:00
parent 4a8c1dd678
commit 4136b532c7

View file

@ -103,5 +103,5 @@ function _get_parts() {
# Split string by uppercase letters.
# Usage: echo | _split_uppercase
function _split_uppercase() {
sed -e "s/[A-Z]\+/\n&/g"
sed -e "s/[A-Z]/\n&/g"
}