You are here

protected property FeedsExHtmlEncoder::$replaceRegex in Feeds extensible parsers 7

The regex used to replace the encoding.

Type: string

Overrides FeedsExXmlEncoder::$replaceRegex

File

src/Xml/Utility.php, line 206
Contains FeedsExXmlUtility.

Class

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

Code

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