Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to #2821602: Not working this module for drupal 8 version
Determine whether pattern matching approach with preg_match is appropriate for the module's d8 dev version, as mentioned on #2821602: Not working this module for drupal 8 version.
Comments
Comment #2
MaskyS CreditAttribution: MaskyS at Google Code-In commentedComment #3
MaskyS CreditAttribution: MaskyS at Google Code-In commentedComment #4
adammaloneWe either continue down the current path of loading all configuration entities and using something like preg_match to validate whether the regular expression matches the name/mail.
Alternatively, we use something like entityQuery and restrict matching to what we had in the D7 version with _ for single character and % for any characters.
I have two concerns about preg_match:
Comment #5
adammaloneUpdate from Mixologic on IRC:
Comment #6
adammalonePreg_match was added here for 8.x #2936400: Massive refactoring / introduce plugins