Пример #1
0
    return match in full_text(x)

def wait_re_in_texts(x, regexp):
    for t in full_text(x):
        if regexp.match(t):
            return True
    return False



FIND_WND_PARAMS = {
    'forever': (
        ('wait', fixed_val(Delay(Delay.FOREVER))),
    ),
    'wait': (
        ('wait', pop_type(Delay)),
    ),
    'app': {
        ('app', pop),
    }
}

KILL_PARAMS = {
}


WAIT_GRANULARITY = 0.2
TIME_ACCURACY = 0.0001

BOOL = {
    'True': True,