fix regexpsub in case of empty match
do not log unnessary intern
Implement copy and fix constant load detection
use correct class name and implement ops assign
fix path append to be compatible with YCP