Parse : Split on every uppercase letter.
This commit is contained in:
parent
4a8c1dd678
commit
4136b532c7
|
@ -103,5 +103,5 @@ function _get_parts() {
|
||||||
# Split string by uppercase letters.
|
# Split string by uppercase letters.
|
||||||
# Usage: echo | _split_uppercase
|
# Usage: echo | _split_uppercase
|
||||||
function _split_uppercase() {
|
function _split_uppercase() {
|
||||||
sed -e "s/[A-Z]\+/\n&/g"
|
sed -e "s/[A-Z]/\n&/g"
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue