4 ms·
Yeah, that's why they're tricky. They will often produce /something/, but it might not be what the author expects. Here's a PEG for tweets: https://github.com/
by sayrer 7y ago
Yeah, that's why they're tricky. They will often produce /something/, but it might not be what the author expects.
Here's a PEG for tweets:
https://github.com/sayrer/twitter-text/blob/master/parser/src/twitter_text.pest https://github.com/sayrer/twitter-text/blob/master/parser/sr...
It would not have been practical to write in the absence of the huge existing test suite.