会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
我叫周文阳
博客园
首页
新随笔
联系
管理
订阅
2020年10月29日
scala之旅-核心语言特性【正则表达式模式】(十六)
摘要: 正则表达式是一个用于查找模式的字符串。任何字符串都可以用一个 .r方法 转换成正则表达式。 import scala.util.matching.Regex val numberPattern: Regex = "[0-9]".r numberPattern.findFirstMatchIn("aw
阅读全文
posted @ 2020-10-29 15:07 周周周文阳
阅读(116)
评论(0)
推荐(0)
编辑
公告