while (line != null) {
for (final InputLine input : getFirstLines()) {
final Matcher matcher = input.getPattern().matcher(line);
- if (matcher.find()) {
+ if (matcher.matches()) {
context.setLocation(new TmfLongLocation(rawPos));
context.firstLineMatcher = matcher;
context.firstLine = line;
if (currentInput == null) {
for (final InputLine input : getFirstLines()) {
final Matcher matcher = input.getPattern().matcher(line);
- if (matcher.find()) {
+ if (matcher.matches()) {
context.setLocation(new TmfLongLocation(rawPos));
context.firstLineMatcher = matcher;
context.firstLine = line;
if (nextInputs.size() == 0 || nextInputs.get(nextInputs.size() - 1).getMinCount() == 0) {
for (final InputLine input : getFirstLines()) {
final Matcher matcher = input.getPattern().matcher(line);
- if (matcher.find()) {
+ if (matcher.matches()) {
context.setLocation(new TmfLongLocation(rawPos));
context.firstLineMatcher = matcher;
context.firstLine = line;
}
for (final InputLine input : nextInputs) {
final Matcher matcher = input.getPattern().matcher(line);
- if (matcher.find()) {
+ if (matcher.matches()) {
event.processGroups(input, matcher);
currentInput = input;
if (countMap.get(currentInput) == null) {
}
if (!processed && currentInput != null) {
final Matcher matcher = currentInput.getPattern().matcher(line);
- if (matcher.find()) {
+ if (matcher.matches()) {
event.processGroups(currentInput, matcher);
countMap.put(currentInput, countMap.get(currentInput) + 1);
if (currentInput.childrenInputs != null && currentInput.childrenInputs.size() > 0) {
while ((line != null) && (lineCount++ < MAX_LINES)) {
for (InputLine inputLine : fDefinition.inputs) {
Matcher matcher = inputLine.getPattern().matcher(line);
- if (matcher.find()) {
+ if (matcher.matches()) {
matches++;
break;
}
continue;
}
Matcher matcher = pattern.matcher(log);
- if (matcher.find()) {
+ if (matcher.matches()) {
rootLineMatches++;
inputText.setStyleRange(new StyleRange(rawPos, length,
COLOR_BLACK, COLOR_YELLOW, SWT.ITALIC));
if (currentInput == null) {
for (InputLine input : definition.inputs) {
matcher = input.getPattern().matcher(log);
- if (matcher.find()) {
+ if (matcher.matches()) {
continue event;
}
}
if (nextInputs.size() == 0 || nextInputs.get(nextInputs.size() - 1).getMinCount() == 0) {
for (InputLine input : definition.inputs) {
matcher = input.getPattern().matcher(log);
- if (matcher.find()) {
+ if (matcher.matches()) {
continue event;
}
}
}
for (InputLine input : nextInputs) {
matcher = input.getPattern().matcher(log);
- if (matcher.find()) {
+ if (matcher.matches()) {
inputText.setStyleRange(new StyleRange(rawPos, length,
COLOR_BLACK, COLOR_LIGHT_YELLOW, SWT.ITALIC));
currentInput = input;
}
if (!processed && currentInput != null) {
matcher = currentInput.getPattern().matcher(log);
- if (matcher.find()) {
+ if (matcher.matches()) {
inputText.setStyleRange(new StyleRange(rawPos, length,
COLOR_BLACK, COLOR_LIGHT_YELLOW, SWT.ITALIC));
updatePreviewLine(currentInput, matcher, data, rawPos, rootLineMatches);