We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6666c0f commit 4ba8a76Copy full SHA for 4ba8a76
src/AfriCC/EPP/AbstractFrame.php
@@ -219,7 +219,7 @@ protected function createNodes($path)
219
if (preg_match('/^(.*)\[(\d+)\]$/', $node_name, $matches)) {
220
// direct node-array access
221
$node_name = $matches[1];
222
- } elseif (preg_match('/^(.*)\[@([a-z0-9]+)=\'([a-z0-9_]+)\'\]$/i', $node_name, $matches)) {
+ } elseif (preg_match('/^(.*)\[@([a-z0-9]+)=\'([a-z0-9_-]+)\'\]$/i', $node_name, $matches)) {
223
// check if attribute needs to be set
224
225
$attr_name = $matches[2];
0 commit comments