Workaround for issue 85 (Unable to use a configuration file path starting with a / on Linux). Filenames that start with a dash still won't work.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1113 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
axial
2007-04-10 11:47:54 +00:00
parent 18da8ad9b4
commit 2aac1f040a

View File

@@ -16,7 +16,7 @@ namespace CommandLine.Utility
public Arguments(string[] Args)
{
Parameters = new StringDictionary();
Regex Splitter = new Regex(@"^-{1,2}|^/|=|:",
Regex Splitter = new Regex(@"^-{1,2}|=|:",
RegexOptions.IgnoreCase | RegexOptions.Compiled);
Regex Remover = new Regex(@"^['""]?(.*?)['""]?$",