For QgsPyExpressionFunctions swap the positions of the '$name'-placeholder and 'function' to be consistent with native QGIS functions. Also replace the following break-Tag with a newline to get rid of extra space.
use exactly the ones from PyQt5 so we can study the difference when generating for PyQt6