Version fast-forward
This commit is contained in:
parent
faad3e69de
commit
561064261c
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
"description": "ConfigLib is a library for reading and writing configuration files via the NCC Runtime API",
|
||||
"company": "Nosial",
|
||||
"copyright": "Copyright (c) 2022-2023 Nosial",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.5",
|
||||
"uuid": "9347259e-8e4d-11ed-85a7-fd07cf28ef35"
|
||||
},
|
||||
"build": {
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
*/
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue