Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. EmailLexer.php

function EmailLexer::isInvalidChar

1 call to EmailLexer::isInvalidChar()
EmailLexer::getType in vendor/egulias/email-validator/src/EmailLexer.php
Retrieve token type. Also processes the token value if necessary.

File

vendor/egulias/email-validator/src/EmailLexer.php, line 261

Class

EmailLexer
@extends AbstractLexer<int, string>

Namespace

Egulias\EmailValidator

Code

protected function isInvalidChar(string $value) : bool {
    return !preg_match(self::INVALID_CHARS_REGEX, $value);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal