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:
@@ -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(@"^['""]?(.*?)['""]?$",
|
||||
|
||||
Reference in New Issue
Block a user