def re_generate(regex, last_seq=False):
    if not re_regex_is_valid(regex):
        print 'Error in regex.'
    else:
        print 'OK'

#test suite
Module to generate string sequences according to regex provided.
dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/libraries/adlibre/re_gen/re_gen.py/re_generate