Updated for escaping of "\#"