Debug output and regex ignores /