Improve GetArgumentName in MonoOptions. Fixes bug-60904 (#6506)
commitacea63a9c1e845f66253a79835b5fb10086910a1
authorEgor Bogatov <egorbo@gmail.com>
Wed, 17 Jan 2018 14:30:14 +0000 (17 17:30 +0300)
committerLudovic Henry <luhenry@microsoft.com>
Wed, 17 Jan 2018 14:30:14 +0000 (17 15:30 +0100)
treee989dbd5835dfd5194f734a159e7874989b3607a
parentf49e87d42a26593cfbc2f26db6b58516bdbe1b1a
Improve GetArgumentName in MonoOptions. Fixes bug-60904 (#6506)

* Rewrite Options.GetArgumentName to use Regex

* code cleanup

* code cleanup
mcs/class/Mono.Options/Mono.Options/Options.cs
mcs/class/Mono.Options/Test/Mono.Options/OptionSetTest.cs