Conversation
|
I tested the Examples:
Root issue: comma is an ambiguous delimiter (it can be part of a valid organization/person name). Splitting from the left vs right cannot fully resolve that ambiguity. Potential solution direction: support an unambiguous delimiter (e.g., semicolons) for the structured form ( Also, it would be great to add tests covering comma-in-name cases. |
rafiattrach
left a comment
There was a problem hiding this comment.
I think the biggest blocker is what @rajna-fani's mentioned above
53c327a to
30f1e8b
Compare
|
added ; as preferred delimiter and added a test case covering all mentioned cases, tested that its passing |
Fix: Split from the right, not the left
Since the format is:
Name[,Email[,URL]]
Email and URL (if present) are always at the end. So we should split from the right using rsplit(",", maxsplit=2)