You are here

constant SpamspanInterface::PATTERN_EMAIL_WITH_OPTIONS in SpamSpan filter 8

Same name and namespace in other branches
  1. 8.2 src/SpamspanInterface.php \Drupal\spamspan\SpamspanInterface::PATTERN_EMAIL_WITH_OPTIONS

For cases when spamspan_use_form is checked.

Example: user@example.museum[mycontactform|Contact me using this form].

File

src/SpamspanInterface.php, line 42

Class

SpamspanInterface
Spamspan interface.

Namespace

Drupal\spamspan

Code

const PATTERN_EMAIL_WITH_OPTIONS = '!' . self::PATTERN_MAIN . '\\[(.*?)\\]!ix';