Skip to content

Commit a561dfd

Browse files
committed
Change ValidIdentifierRegex pattern to accept dot in string also
#11
1 parent bac9827 commit a561dfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FlowSynx.PluginCore/PluginMetadata.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class PluginMetadata
1616
/// A regular expression to validate identifiers.
1717
/// Identifiers must start with a letter and contain only letters and digits.
1818
/// </summary>
19-
private static readonly Regex ValidIdentifierRegex = new(@"^[A-Za-z][A-Za-z0-9]*$", RegexOptions.Compiled);
19+
private static readonly Regex ValidIdentifierRegex = new(@"^[A-Za-z][A-Za-z0-9.]*$", RegexOptions.Compiled);
2020

2121
/// <summary>
2222
/// Gets or sets the unique identifier of the plugin.

0 commit comments

Comments
 (0)