You are here

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

The regex used to replace the encoding.

Type: string

Overrides XmlEncoder::$replaceRegex

File

src/Encoder/HtmlEncoder.php, line 18

Class

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

Namespace

Drupal\feeds_ex\Encoder

Code

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