Skip to content

Commit 1e9fe00

Browse files
committed
C#: Address review comments
1 parent ad77afe commit 1e9fe00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

csharp/autobuilder/Semmle.Autobuild/AutobuildOptions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ public static string[] AsListWithExpandedEnvVars(this string value, IBuildAction
103103
Select(s => AsStringWithExpandedEnvVars(s, actions)).ToArray();
104104
}
105105

106-
static readonly Regex linuxEnvRegEx = new Regex(@"\$([A-Z_][A-Z_0-9]*)", RegexOptions.Compiled);
106+
static readonly Regex linuxEnvRegEx = new Regex(@"\$([a-zA-Z_][a-zA-Z_0-9]*)", RegexOptions.Compiled);
107+
107108
public static string AsStringWithExpandedEnvVars(this string value, IBuildActions actions)
108109
{
109110
if (string.IsNullOrEmpty(value))

0 commit comments

Comments
 (0)