You are here

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

The regex used to replace the encoding.

Type: string

File

src/Encoder/XmlEncoder.php, line 22

Class

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

Namespace

Drupal\feeds_ex\Encoder

Code

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