Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(44)  |  Call(44)  |  Derive(0)  |  Import(0)

src/f/l/flanker-0.4.14/flanker/addresslib/plugins/yahoo.py   flanker(Download)
 
    # local-part must being with alpha
    alpa = stream.get_token(ALPHA)
    if alpa is None:
        return False
 
    while True:
        # optional dot or underscore token
        stream.get_token(DOT) or stream.get_token(UNDERSCORE)
 
        # alpha or numeric
        alpanum = stream.get_token(ALPHA) or stream.get_token(NUMERIC)
        if alpanum is None:
            break

src/f/l/flanker-HEAD/flanker/addresslib/plugins/yahoo.py   flanker(Download)
 
    # local-part must being with alpha
    alpa = stream.get_token(ALPHA)
    if alpa is None:
        return False
 
    while True:
        # optional dot or underscore token
        stream.get_token(DOT) or stream.get_token(UNDERSCORE)
 
        # alpha or numeric
        alpanum = stream.get_token(ALPHA) or stream.get_token(NUMERIC)
        if alpanum is None:
            break

src/f/l/flanker-0.4.14/flanker/addresslib/plugins/aol.py   flanker(Download)
 
    # local-part must being with alpha
    alpa = stream.get_token(ALPHA)
    if alpa is None:
        return False
 
    while True:
        # optional dot or underscore token
        stream.get_token(DOT) or stream.get_token(UNDERSCORE)
 
        # alpha or numeric
        alpanum = stream.get_token(ALPHA) or stream.get_token(NUMERIC)
        if alpanum is None:
            break

src/f/l/flanker-HEAD/flanker/addresslib/plugins/aol.py   flanker(Download)
 
    # local-part must being with alpha
    alpa = stream.get_token(ALPHA)
    if alpa is None:
        return False
 
    while True:
        # optional dot or underscore token
        stream.get_token(DOT) or stream.get_token(UNDERSCORE)
 
        # alpha or numeric
        alpanum = stream.get_token(ALPHA) or stream.get_token(NUMERIC)
        if alpanum is None:
            break

src/f/l/flanker-0.4.14/flanker/addresslib/plugins/icloud.py   flanker(Download)
def _validate(localpart):
    stream = TokenStream(localpart)
 
    # localpart must start with alpha
    alpa = stream.get_token(ICLOUD_PREFIX)
    while True:
        # optional dot or underscore
        stream.get_token(DOT) or stream.get_token(UNDERSCORE)
 
        base = stream.get_token(ICLOUD_BASE)

src/f/l/flanker-HEAD/flanker/addresslib/plugins/icloud.py   flanker(Download)
def _validate(localpart):
    stream = TokenStream(localpart)
 
    # localpart must start with alpha
    alpa = stream.get_token(ICLOUD_PREFIX)
    while True:
        # optional dot or underscore
        stream.get_token(DOT) or stream.get_token(UNDERSCORE)
 
        base = stream.get_token(ICLOUD_BASE)

src/f/l/flanker-0.4.14/flanker/addresslib/plugins/hotmail.py   flanker(Download)
def _validate(localpart):
    stream = TokenStream(localpart)
 
    # get the hotmail base
    mpart = stream.get_token(HOTMAIL_BASE)

src/f/l/flanker-0.4.14/flanker/addresslib/plugins/google.py   flanker(Download)
def _validate(localpart):
    stream = TokenStream(localpart)
 
    # get the google base
    mpart = stream.get_token(GOOGLE_BASE)

src/f/l/flanker-0.4.14/flanker/addresslib/plugins/gmail.py   flanker(Download)
def _validate(localpart):
    stream = TokenStream(localpart)
 
    # get the gmail base (alpha, num, or dot)
    mpart = stream.get_token(GMAIL_BASE)

src/f/l/flanker-HEAD/flanker/addresslib/plugins/hotmail.py   flanker(Download)
def _validate(localpart):
    stream = TokenStream(localpart)
 
    # get the hotmail base
    mpart = stream.get_token(HOTMAIL_BASE)

  1 | 2  Next