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>
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;
}