Skip to content
Snippets Groups Projects
Commit 02bc74ad authored by Mick Jordan's avatar Mick Jordan
Browse files

fix bug in return value for grep

parent 2b00885d
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ public class GrepFunctions {
protected static String findMatch(String pattern, String text) {
Matcher m = Regexp.getPatternMatcher(pattern, text);
if (m.find()) {
return m.group();
return text;
} else {
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment