Permalink
Switch branches/tags
Commits on Jun 4, 2015
  1. qcontent could be empty in quoted-string

    so "" is valid too.
    
    rfc says:
    
        quoted-string   =       [CFWS]
                            DQUOTE *([FWS] qcontent) [FWS] DQUOTE
                            [CFWS]
    sunnavy committed Jun 4, 2015
  2. it's more straightforward/clear to use atom and quoted-string to buil…

    …d phrase
    
    as rfc says:
    
        word            =       atom / quoted-string
    sunnavy committed Jun 4, 2015
Commits on Feb 16, 2014
  1. Verion bump to 0.05

    alexmv committed Feb 16, 2014
  2. Fix spelling errors

    carnil committed with alexmv Feb 16, 2014
Commits on Feb 3, 2014
  1. Version bump to 0.04

    alexmv committed Feb 3, 2014
Commits on Jan 28, 2014
Commits on Jan 22, 2014
  1. Version bump to 0.03

    alexmv committed Jan 22, 2014
Commits on Jan 21, 2014
  1. Version bump to 0.02

    alexmv committed Jan 16, 2014
Commits on Jan 16, 2014
  1. Prevent atext atoms from backtracking; atoms should be fully greedy

    This prevents a quadratic exposion in the 'obs-phrase' regular
    expression.  In reduced form, 'obs-phrase' is equivalent to 'atom*',
    which is '(atext+)*'.  In the context of 'obs-mailbox', this comes
    before a required '<' -- but due to the alternation with obs-addr-spec,
    the optimizer cannot short-circuit the match due to a lack of '<'
    characters in the string.  As such, it tries every possible different
    possibility of splitting the phrase into one-or-more character atoms.
    This leads to a quadratic growth in the length of the string.
    
    As the 'atext' class is intentionally constructed to never contain any
    "interesting" characters upon which alternation might hinge,
    backtracking through them is never fruitful -- force the match on atoms
    to be non-backtracking.
    alexmv committed Jan 16, 2014
Commits on Nov 16, 2012
  1. another mass update

    * tests
    * anchor mailbox at the end with ;|,|$ otherwise we could match less
    * jump over comments and quoted strings in recover from error code
    * documentation
    ruz committed Nov 16, 2012
Commits on Nov 14, 2012
  1. more tests in data in suite

    ruz committed Nov 14, 2012
  2. mass update

    * simplify post processing
    * full support of obsolete syntax
    * dequote phrase and local-part
    * normalize phrase and local-part quoting
    ruz committed Nov 14, 2012
Commits on Nov 8, 2012
  1. more on obsolete syntax

    ruz committed Nov 8, 2012
Commits on Nov 7, 2012
  1. initial commit

    ruz committed Nov 7, 2012
Commits on Nov 5, 2012
  1. .gitignore

    ruz committed Nov 5, 2012