def iter_lamps(acad, objects):
    for obj in acad.iter_objects(('MText', 'MLeader'), block=objects):
        try:
            text = obj.TextString
        except Exception:
            continue
        text = utils.unformat_mtext(text)
        m = re.search(ur'(?P<num>\d+)(?P<mark>.*?)\\S(?P<num_power>.*?)/.*?;', text)
        if not m:
            continue
        print m.group('num'), m.group('mark'), m.group('num_power')
        yield LampEntry(m.group('num'), m.group('mark'), m.group('num_power'))