aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFran├žois Rajotte2013-04-17 15:22:14 (EDT)
committerAlexandre Montplaisir2013-04-18 13:06:35 (EDT)
commit15edf0d41e8fd713633bc3c347be3d6b3f35e6d8 (patch)
treeb5f451fe2f66c42736827e2a5d80d939d50138eb
parentfe3cc4a170ce702116b43a6f01a9ba6ff456879a (diff)
downloadorg.eclipse.linuxtools-15edf0d41e8fd713633bc3c347be3d6b3f35e6d8.zip
org.eclipse.linuxtools-15edf0d41e8fd713633bc3c347be3d6b3f35e6d8.tar.gz
org.eclipse.linuxtools-15edf0d41e8fd713633bc3c347be3d6b3f35e6d8.tar.bz2
Add newline awareness to filter and search function of the event viewrefs/changes/93/11993/2
Change-Id: I9d5f03b55931e954f30da8fe36342413b4a2adb1 Signed-off-by: Fran├žois Rajotte <francois.rajotte@polymtl.ca> Reviewed-on: https://git.eclipse.org/r/11993 Tested-by: Hudson CI Reviewed-by: Bernd Hufmann <bhufmann@gmail.com> IP-Clean: Bernd Hufmann <bhufmann@gmail.com> Tested-by: Bernd Hufmann <bhufmann@gmail.com> Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java
index d51a719..79bfb55 100644
--- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterMatchesNode.java
+++ b/lttng/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;
}