Changed to regex when parsing scf file