import re


def is_build_version(text):
    """
    >>> is_build_version('1134-31')
    True
    >>> is_build_version('a-42')
    False
    """

    return bool(re.match(r'''
        \d+-\d+
    ''', text, re.VERBOSE))