From 1986b10989671b54459831058510ea392c0c5b3e Mon Sep 17 00:00:00 2001 From: ShuffleReady Date: Fri, 13 Jun 2025 18:24:47 -0400 Subject: [PATCH] Update regex to match code in core_component::is_valid_plugin_name() I went from 5.1 back to 4.0 and only saw the regex /^[a-z](?:[a-z0-9_](?!__))*[a-z0-9]+$/ in core_component::is_valid_plugin_name() --- docs/apis/plugintypes/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/plugintypes/index.md b/docs/apis/plugintypes/index.md index ea9977def..12aaf9f59 100644 --- a/docs/apis/plugintypes/index.md +++ b/docs/apis/plugintypes/index.md @@ -35,7 +35,7 @@ If a plugin does not meet these requirements then it will be silently ignored. Plugin name validation takes place in `core_component::is_valid_plugin_name()` and the following regular expression is used: ``` -/^[a-z](?:[a-z0-9_](?!__))*[](a-z0-9)+$/ +/^[a-z](?:[a-z0-9_](?!__))*[a-z0-9]+$/ ``` :::