Skip to content

Commit 18752a2

Browse files
committed
Updates
1 parent d50cee7 commit 18752a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/java/com/actelion/research/util/StringFunctions.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,12 @@ public static String getStringFromRegEx(String str, String regex) {
568568
return str.substring(start,end);
569569
}
570570

571+
/**
572+
*
573+
* @param str
574+
* @param regex
575+
* @return start=inclusively, end exclusively.
576+
*/
571577
public static Point getStartEnd(String str, String regex) {
572578
Pattern pa = Pattern.compile(regex);
573579
Matcher ma = pa.matcher(str);

0 commit comments

Comments
 (0)