Version fast-forward

This commit is contained in:
netkas 2024-12-27 15:32:00 -05:00
parent faad3e69de
commit 561064261c
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@
"description": "ConfigLib is a library for reading and writing configuration files via the NCC Runtime API", "description": "ConfigLib is a library for reading and writing configuration files via the NCC Runtime API",
"company": "Nosial", "company": "Nosial",
"copyright": "Copyright (c) 2022-2023 Nosial", "copyright": "Copyright (c) 2022-2023 Nosial",
"version": "1.1.2", "version": "1.1.5",
"uuid": "9347259e-8e4d-11ed-85a7-fd07cf28ef35" "uuid": "9347259e-8e4d-11ed-85a7-fd07cf28ef35"
}, },
"build": { "build": {

View file

@ -170,7 +170,7 @@
*/ */
private static function validateKey(string $input): bool private static function validateKey(string $input): bool
{ {
if (preg_match('/^([a-zA-Z0-9_]+\.?)+$/', $input)) if (preg_match('/^[a-zA-Z0-9_]+(\.[a-zA-Z0-9_]+)*$/', $input))
{ {
return true; return true;
} }