'Normalises regular expression patterns and string inputs to Unicode.'

@classmethod
def normalise_re_arg(cls, value):

    if isinstance(value, six.binary_type):
        return value.decode(u'ascii')
    else:
        return value
