Skip to content

Commit

Permalink
test: fix numerical issue for #448
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Nov 30, 2023
1 parent 0d0d169 commit 80043fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DOMStringMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function count():int {

private function correctCamelCase(string $name):string {
preg_match_all(
'/((?:^|[A-Z])[a-z\-]+)/',
'/((?:^|[A-Z])[0-9a-z\-]+)/',
$name,
$matches
);
Expand Down

0 comments on commit 80043fd

Please sign in to comment.