Skip to content

Commit c3684b5

Browse files
committed
Loosen validation for arbitrary CLI options
Fixes #95
1 parent 900768c commit c3684b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ShaderPlayground.Core/ShaderCompilerArguments.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace ShaderPlayground.Core
77
{
88
public sealed class ShaderCompilerArguments : Dictionary<string, string>
99
{
10-
private static readonly Regex IdentifierRegex = new Regex("^[_a-zA-Z0-9\\-= ]*$", RegexOptions.Compiled);
10+
private static readonly Regex IdentifierRegex = new Regex("^[_a-zA-Z0-9\\-=\\/ ]*$", RegexOptions.Compiled);
1111

1212
private Dictionary<string, ShaderCompilerParameter> _parameters;
1313

0 commit comments

Comments
 (0)