We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c8007c commit 274e8bfCopy full SHA for 274e8bf
SomethingNeedDoing/NativeMacro/MacroParser.cs
@@ -74,7 +74,7 @@ public IMacroCommand ParseLine(string text)
74
/// <returns>The command parse info, or null if the text cannot be parsed.</returns>
75
private CommandParseInfo? ParseCommandStructure(string text)
76
{
77
- var match = Regex.Match(text, @"^/(\w+)(?:\s+(.*))?$");
+ var match = Regex.Match(text, @"^/([\w-]+)(?:\s+(.*))?$");
78
if (!match.Success)
79
return null;
80
0 commit comments