You are here

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

The regex used to find the encoding.

Type: string

File

src/Encoder/XmlEncoder.php, line 15

Class

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

Namespace

Drupal\feeds_ex\Encoder

Code

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