From: François Rajotte Date: Wed, 17 Apr 2013 19:22:14 +0000 (-0400) Subject: Add newline awareness to filter and search function of the event view X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=fc20d1d91a67bbbfa11c84c7b01de383a52d9bf6;p=deliverable%2Ftracecompass.git Add newline awareness to filter and search function of the event view Change-Id: I9d5f03b55931e954f30da8fe36342413b4a2adb1 Signed-off-by: François Rajotte Reviewed-on: https://git.eclipse.org/r/11993 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann IP-Clean: Bernd Hufmann Tested-by: Bernd Hufmann Reviewed-by: Alexandre Montplaisir --- diff --git a/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java b/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java index d51a719ac4..79bfb552a3 100644 --- a/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java +++ b/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java @@ -90,7 +90,7 @@ public class TmfFilterMatchesNode extends TmfFilterTreeNode { public void setRegex(String regex) { this.fRegex = regex; try { - this.fPattern = Pattern.compile(regex); + this.fPattern = Pattern.compile(regex, Pattern.DOTALL); } catch (PatternSyntaxException e) { this.fPattern = null; }