You are here

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

The regex used to replace the encoding.

Type: string

File

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

Class

FeedsExXmlEncoder
Converts the encoding of an XML document to UTF-8.

Code

protected $replaceRegex = '/^(<\\?xml[^>]+encoding\\s*=\\s*("|\'))([\\w-]+)(\\2)/';