Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #660 whitespace exact #807

Merged
merged 4 commits into from Mar 18, 2023

Commits on Mar 14, 2023

  1. Add various tests for current parsing

    Add more varying testing for most parsing functions.
    Tests emphasize whitespace, literals, timezones, and timezone
    delimiters (colons and whitespace).
    
    Add tests for multiple-byte characters and combining characters
    in and around data and parsing formats.
    
    These tests are added to aid humans verifying the next commit that
    changes parsing behavior.
    
    Issue chronotope#660
    jtmoon79 committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    388f3d8 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Exact whitespace parsing

    Be exact about allowed whitespace around and between data and
    parsing formats for all parsing.
    Except RFC 2822 which explicitly allows arbitrary whitespace.
    
    Issue chronotope#660
    jtmoon79 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    1b0f74d View commit details
    Browse the repository at this point in the history
  2. Add tests for timezone parsing whitespace and colon

    Add tests for timezone parsing infinite whitespace and colons.
    
    Prepatory tests for next commit around constraining timezone and
    colons.
    jtmoon79 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    fe140d6 View commit details
    Browse the repository at this point in the history
  3. Constrain timezone separator colon strings

    Constrain timezone middle-colon separator string from
    infinite intermixed whitespace and colons
    to possible patterns `":"`, `" "`, `" :"`, `": "`, or `" : "`.
    A reasonable trade-off of previous extreme flexibility for
    a little flexbility and concise input.
    
    Issue chronotope#660
    jtmoon79 committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    98854dc View commit details
    Browse the repository at this point in the history