import string


def next_digit_offset(s, start_offset=0):
    """Given an optional start offset, find the offset of the 
       next digit character in string s, or -1.
    """
    s_len = len(s)
    for i in range(start_offset, s_len):
        if s[i] in string.digits:
            return i
    return -1