[TASK] Use negative lookahead in regex to avoid parser from destroying childelements