You are here

protected property HtmlEncoder::$findRegex in Feeds extensible parsers 8

The regex used to find the encoding.

Type: string

Overrides XmlEncoder::$findRegex

File

src/Encoder/HtmlEncoder.php, line 13

Class

HtmlEncoder
Converts the encoding of an HTML document to UTF-8.

Namespace

Drupal\feeds_ex\Encoder

Code

protected $findRegex = '/(<meta[^>]+charset\\s*=\\s*["\']?)([\\w-]+)\\b/i';