deltachat / message-parser

Parsing of Links, Email adresses, simple text formatting (markdown subset), user mentions, hashtags and more in DeltaChat messages.
https://deltachat.github.io/message-parser/
Other
12 stars 2 forks source link

own email parsing, without external crate #5

Open Simon-Laux opened 2 years ago

Simon-Laux commented 2 years ago

the crate we use follows specs which is good, but it is kinda big because it uses the pest parser. also it adds stuff to wasm bindgen that we might not want.

maybe we can take some testcases from them https://github.com/Sayan751/email-address-parser/tree/master/rust-lib/.test_data

Simon-Laux commented 2 years ago

another reason for replacing that crate: it broke my wasm compile and exposed wasm functions without me explicitly enabling it.

Simon-Laux commented 2 years ago

If the simple parsing that we have in #6 is not enough (because of false positives for example) we can do real parsing in #7

link2xt commented 9 months ago

For reference, email-address-parser was removed in 839dc0fcf3a7dac6c44647baa912900399614613