import re


def pod2OptionList(pod):
    """
    Return option names found in POD snippet. Option names are recognized in
    `=item B<option>' constructs.

    @param pod: Snippet in POD format to be analyzed.
    @type pod: str

    @return: All option names contained in POD snippet as a list.
    @rtype: [ str, ..., ]
    """
    result = [ ]
    for line in pod.split("\n"):
        found = re.search("^=item\s*B<(-[^>]+)>", line)
        if found:
            result.append(found.group(1))
    return result