'Search for offset of a value in cyclic pattern
Set "pattern" option for basic/extended pattern type
Usage:
MYNAME value'

def pattern_offset(self, *arg):

    (value,) = normalize_argv(arg, 1)
    if (value is None):
        self._missing_argument()
    pos = cyclic_pattern_offset(value)
    if (pos is None):
        msg(('%s    not    found    in    pattern    buffer' % value))
    else:
        msg(('%s    found    at    offset:    %d' % (value, pos)))
    return
