I copied a statement that aims to convert a string into Camel Case in Octave. The code is as following.
function camelStr = stringcamelcase (str)
camelStr = lower(str)
idx = regexp([' ' camelStr], '(?<=\s+)\S', 'start') -1;
camelStr(idx) = upper(camelStr(idx));
end
But I receive this warning message.
warning: regexp: arbitrary length look behind patterns are only supported up to length 10
Looking for answers in the Internet, it seems is an issue about variable-length lookbehind-assertion, but I don't understand it and in all answers I read, people talk about it as all they understand it.