|
@@ -15,12 +15,6 @@ FileArgument::FileArgument(String file_argument)
|
|
|
m_line = {};
|
|
|
m_column = {};
|
|
|
|
|
|
- if (Core::File::exists(file_argument)) {
|
|
|
- // A file exists with the full specified name, don't attempt to parse it.
|
|
|
- m_filename = move(file_argument);
|
|
|
- return;
|
|
|
- }
|
|
|
-
|
|
|
// A file doesn't exist with the full specified name, maybe the user entered line/column coordinates?
|
|
|
Regex<PosixExtended> re("^(.+?)(:([0-9]+):?([0-9]+)?)?$");
|
|
|
RegexResult result = match(file_argument, re, PosixFlags::Global | PosixFlags::Multiline | PosixFlags::Ungreedy);
|