Problem
Several PGN parser edge cases are not handled:
- Date formats: Only
YYYY.MM.DD supported, not YYYY/MM/DD or DD.MM.YYYY
- Round formats: Complex formats like
1.2.3 may not roundtrip correctly
- Unicode: Some characters in comments/names may not survive roundtrip
- Additional tags: Not handled specially:
[Annotator]
[Termination]
[Mode]
[WhiteTeam], [BlackTeam]
- Rating types: Only standard Elo; no Rapid/Blitz distinction
Solution
- Add date format flexibility
- Preserve unknown tags during import
- Add Unicode roundtrip tests
- Consider rating type field
File
src/pgn.rs
Priority
Low - edge cases
Problem
Several PGN parser edge cases are not handled:
YYYY.MM.DDsupported, notYYYY/MM/DDorDD.MM.YYYY1.2.3may not roundtrip correctly[Annotator][Termination][Mode][WhiteTeam],[BlackTeam]Solution
File
src/pgn.rsPriority
Low - edge cases