From 85ef942e7195abeb71466b7159c3ee30161e1e54 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期二, 07 四月 2026 08:51:01 +0800
Subject: [PATCH] 2026.4.7

---
 src/test/kotlin/cn/flightfeather/supervision/CommonTest.kt |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/test/kotlin/cn/flightfeather/supervision/CommonTest.kt b/src/test/kotlin/cn/flightfeather/supervision/CommonTest.kt
index 070a972..2fc3125 100644
--- a/src/test/kotlin/cn/flightfeather/supervision/CommonTest.kt
+++ b/src/test/kotlin/cn/flightfeather/supervision/CommonTest.kt
@@ -22,12 +22,8 @@
 
     @Test
     fun findStr() {
-        val str = "http://114.233.144.555:9006/asdasd/asdasd"
-        val url = str.split("://")[1].split("/")[0]
-        val newStr = str.replace(url, "224.55.2.12:8085")
-//        val i1 = str.indexOf("://")
-//        val i2 = str.indexOf("/")
-        println(str)
-        println(newStr)
+        val m = "cOm7.jpg"
+        val m1 = m.replace("/", "-").replace(".", "(${0 + 1}).")
+        println(m1)
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3