Title: Signature regular expression · Issue #53 · github/email_reply_parser · GitHub
Open Graph Title: Signature regular expression · Issue #53 · github/email_reply_parser
X Title: Signature regular expression · Issue #53 · github/email_reply_parser
Description: I ran into some random situations where emails were not parsed correctly. Part of the email was chopped out, for example: Hi Test,\n\n-This is a test Will result in -This is a test fragment being hidden and considered as part of signatur...
Open Graph Description: I ran into some random situations where emails were not parsed correctly. Part of the email was chopped out, for example: Hi Test,\n\n-This is a test Will result in -This is a test fragment being h...
X Description: I ran into some random situations where emails were not parsed correctly. Part of the email was chopped out, for example: Hi Test,\n\n-This is a test Will result in -This is a test fragment being h...
Opengraph URL: https://github.com/github/email_reply_parser/issues/53
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Signature regular expression","articleBody":"I ran into some random situations where emails were not parsed correctly. Part of the email was chopped out, for example:\n`Hi Test,\\n\\n-This is a test`\nWill result in `-This is a test` fragment being hidden and considered as part of signature which it should not be. After digging more into the problem, we figured out that:\n`(?m)(--\\s*$|__\\s*$|\\w-$)|(^(\\w+\\s*){1,3} ym morf tneS$)`\nThe first matching group is testing against `\\w-`, which is causing the problem. I can't think out of a better way to solve the problem other than take `\\w-$` part out so it opens to any suggestion.\n","author":{"url":"https://github.com/wli0503","@type":"Person","name":"wli0503"},"datePublished":"2016-08-01T18:24:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/53/email_reply_parser/issues/53"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7e1ca161-9509-16a2-48ce-c648dc28e918 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB5A:22EFB2:4848E39:6272C92:6980BB33 |
| html-safe-nonce | 7c86bc2491acdcdb206d1d45b3cddee2091ae71a4ec7a1488f4c6c197a2a203e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjVBOjIyRUZCMjo0ODQ4RTM5OjYyNzJDOTI6Njk4MEJCMzMiLCJ2aXNpdG9yX2lkIjoiNTg4OTEyMjM4NDgxMTcwMzA5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 22229c1a44c83e09957fa63ec43453b41e40a67fb14d18e0cb1279710cc1e854 |
| hovercard-subject-tag | issue:168709327 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/email_reply_parser/53/issue_layout |
| twitter:image | https://opengraph.githubassets.com/79cb438b20d1f4e907220dc75a1774ffa5b3db8f34c7ba466776bfb02af22ed1/github/email_reply_parser/issues/53 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/79cb438b20d1f4e907220dc75a1774ffa5b3db8f34c7ba466776bfb02af22ed1/github/email_reply_parser/issues/53 |
| og:image:alt | I ran into some random situations where emails were not parsed correctly. Part of the email was chopped out, for example: Hi Test,\n\n-This is a test Will result in -This is a test fragment being h... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wli0503 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fb936832e40deb3175641d9cfedc8432372f91b0bc899576222953095fc7879e |
| turbo-cache-control | no-preview |
| go-import | github.com/github/email_reply_parser git https://github.com/github/email_reply_parser.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 1400605 |
| octolytics-dimension-repository_nwo | github/email_reply_parser |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1400605 |
| octolytics-dimension-repository_network_root_nwo | github/email_reply_parser |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ad74180531de4861d5eee036a47b86c66a5b756e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width