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

Not all quoted lines correctly detect in this example #32

Open
jens-f opened this issue Oct 31, 2024 · 0 comments
Open

Not all quoted lines correctly detect in this example #32

jens-f opened this issue Oct 31, 2024 · 0 comments

Comments

@jens-f
Copy link

jens-f commented Oct 31, 2024

Here's an example where the parser does not properly identify all quotes (based on a real email we have to handle).

Hi S.,

Thanks for reaching out with availability, and good to meet you too!

Wednesday at 4:30 pm or Friday at 2:30 pm both look like they would work for me and R.

Thanks,

T.

----------- Original Message -----------
From: "S."
Date: Monday, July 24th 2023 at 3:59 pm
Subject: Sync
To: "R." ,
Cc: "K."

> Hey R. and T.,
> 
> Nice to meet you T.! Opening up another thread to coordinate time for a chat this week about the integration. Here\'s some availability this week for myself and one of our sales engineers: 
 > 
 > Tuesday: 3: 30 - 6pm
 > 
 > Wednesday: 4 - 5pm
 > 
 > Friday: 2: 30 - 3pm, 3: 30 - 4: 30
 > 
 > Do any of these work for you ? Let me know and I\'ll send out the invite for a 45 min call.
> 
> Looking forward to it,
> 
> S.
> 
> (image)

Will determine the following lines as unquoted text:

"Hi S.,

Thanks for reaching out with availability, and good to meet you too!

Wednesday at 4:30 pm or Friday at 2:30 pm both look like they would work for me and R.

Thanks,

T.

 >
 > Tuesday: 3: 30 - 6pm
 >
 > Wednesday: 4 - 5pm
 >
 > Friday: 2: 30 - 3pm, 3: 30 - 4: 30
 >
 > Do any of these work for you ? Let me know and I'll send out the invite for a 45 min call."

Not sure if that is easy to handle by extending the regular expression that looks for the quote character by allowing white-space before it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant