- Issue created by @Ruslan Piskarov
- Merge request !613468081: The EmailMatcher can't recognize an email with subject and/or body:... β (Merged) created by Ruslan Piskarov
- Status changed to Needs review
3 months ago 12:20pm 14 August 2024 - πΊπ¦Ukraine Ruslan Piskarov Kiev, Ukraine
I have committed a simple fix.
It can be improved if required by using regex. Also "if (filter_var($string, FILTER_VALIDATE_EMAIL))
" can be replaced with something like "\Drupal::service('email.validator')->isValid($string)
".
I decided to use explode() instead of preg_replace() because explode() will work faster. - First commit to issue fork.
-
mark_fullmer β
committed 941c1d50 on 7.x authored by
Ruslan Piskarov β
Issue #3468081: The EmailMatcher can't recognize an email with subject...
-
mark_fullmer β
committed 941c1d50 on 7.x authored by
Ruslan Piskarov β
- Status changed to Fixed
3 months ago 3:29pm 14 August 2024 - πΊπΈUnited States mark_fullmer Tucson
This is a very sensible change! Thanks for reporting and providing the nice implementation!
Automatically closed - issue fixed for 2 weeks with no activity.