Can you try these two lines?
class="$(echo $f | sed --posix "s/^actions\/\(\w\{0,\}\)\.hh/\1/g")" id="$(echo $foo | sed --posix "s/PEEKABOT_REGISTER_SERIALIZABLE[[:space:]]\{1,\}//g")"
Can you try these two lines?
class="$(echo $f | sed --posix "s/^actions\ /\(\w\{ 0,\}\)\ .hh/\1/ g")" REGISTER_ SERIALIZABLE[ [:space: ]]\{1,\ }//g")"
id="$(echo $foo | sed --posix "s/PEEKABOT_