|
@@ -29,15 +29,15 @@ public class FormulaUtils {
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
- public static void main(String[] args) {
|
|
|
- Matcher m = RegexUtils.matcher("(\\-?\\d+)(\\D)(\\+?\\d+)","-5,5");
|
|
|
- if(m.find()){
|
|
|
- System.out.println(m.group());
|
|
|
- System.out.println(m.group(1));
|
|
|
- System.out.println(m.group(2));
|
|
|
- System.out.println(m.group(3));
|
|
|
- }
|
|
|
- }
|
|
|
+// public static void main(String[] args) {
|
|
|
+// Matcher m = RegexUtils.matcher("(\\-?\\d+)(\\D)(\\+?\\d+)","-5,5");
|
|
|
+// if(m.find()){
|
|
|
+// System.out.println(m.group());
|
|
|
+// System.out.println(m.group(1));
|
|
|
+// System.out.println(m.group(2));
|
|
|
+// System.out.println(m.group(3));
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
/**
|
|
|
* result[0]^2+result[1]^2=result[2]^2 result[] 元素均为正整数
|