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.
I have tried this every way possible and can't get it to stick.
I enter /
.*?<\/h3>/ or any of the other combination's and after I save the profile it looks like this /
.*?
/
The '\' is getting stripped from the filter every time I save or save and edit and is causing this error.
warning: preg_replace_callback() [function.preg-replace-callback]: Unknown modifier 'h' in /sites/all/modules/signwriter/signwriter.module on line 159.
The 'h' in the error is from the second h3 in the filter statement.
Comments
Comment #1
dltampa CreditAttribution: dltampa commentedSorry for the format problem in the OP. The filter should be shown as /.*?<\/h-3>/ without the hyphens and after I save, the backslash \ is missing from the filter.
Comment #2
dltampa CreditAttribution: dltampa commentedTemp fix. Edit the DB directly. Edit the pattern field to include the \.