(value)
return atext, value
atext = <matches _atext_matcher>

    We allow any non-ATOM_ENDS in atext, but add an InvalidATextDefect to
    the token's defects list if we find non-atext characters.
atext = <matches _atext_matcher>
atext = <matches _atext_matcher >
def get_atext(value):
    """atext = <matches _atext_matcher>

    We allow any non-ATOM_ENDS in atext, but add an InvalidATextDefect to
    the token's defects list if we find non-atext characters.
    """
    m = _non_atom_end_matcher(value)
    if not m:
        raise errors.HeaderParseError(
            "expected atext but found '{}'".format(value))
    atext = m.group()
    value = value[len(atext):]
    atext = ValueTerminal(atext, 'atext')
    _validate_xtext(atext)
    return atext, value
def get_atext ( value ) : m = _non_atom_end_matcher ( value ) if not m : raise errors . HeaderParseError ( "expected atext but found '{}'" . format ( value ) ) atext = m . group ( ) value = value [ len ( atext ) : ] atext = ValueTerminal ( atext , 'atext' ) _validate_xtext ( atext ) return atext , value