|
@@ -176,8 +176,8 @@ public class CommandArguments {
|
176
|
176
|
public String getWordsAsString(final int start, final int end) {
|
177
|
177
|
Logger.assertTrue(start <= end + 1);
|
178
|
178
|
|
179
|
|
- final Pattern pattern = Pattern.compile("(\\S+\\s*){" + (start) + "}"
|
180
|
|
- + "((\\S+\\s*){" + Math.max(0, end - start) + "}\\S+).*?");
|
|
179
|
+ final Pattern pattern = Pattern.compile("(\\S+\\s+){" + (start) + "}"
|
|
180
|
+ + "((\\S+\\s+){" + Math.max(0, end - start) + "}\\S+).*?");
|
181
|
181
|
final Matcher matcher = pattern.matcher(line);
|
182
|
182
|
|
183
|
183
|
return matcher.matches() ? matcher.group(2) : "";
|