MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / main

Method main

strings/StartEnd.java:41–48  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

39 + m.start() + " end = " + m.end());
40 }
41 public static void main(String[] args) {
42 for(String in : input.split("\n")) {
43 System.out.println("input : " + in);
44 for(String regex : new String[]{"\\w*ere\\w*",
45 "\\w*ever", "T\\w+", "Never.*?!"})
46 examine(in, regex);
47 }
48 }
49}
50/* Output:
51input : As long as there is injustice, whenever a

Callers

nothing calls this directly

Calls 2

examineMethod · 0.95
splitMethod · 0.80

Tested by

no test coverage detected