Date
May. 20th, 2024
 
2024年 4月 13日

Post: Java 与 RegEx 浅析 001: 概述

Java 与 RegEx 浅析 001: 概述

Published 12:09 Sep 19, 2013.

Created by @ezra. Categorized in #Programming, and tagged as #Java.

Source format: Markdown

Table of Content

Java 是目前极为流行的一门语言,而正则表达式也是开发和维护中必不可少的一个工具,如何将这两者融合成为一个非常重要的问题。

从 2002 年初 Java 发布 1.4 版本后就有了内建的采用 NFA 的正则表达式包 java.util.regex,不仅提供了强大的功能,更可喜的是它的 API 十分简单。 在 java.util.regex 中的方法有:

appendReplacement
appendTail
compile
end
find
flag
group
groupCount
hasAnchoringBounds
hasTransparentBounds
hitEnd
lookingAt
matcher
matcher(Matcher)
matcher(Pattern)
pattern(Matcher)
pattern(Pattern)
quote
QuoteReplacement
region
regionEnd
regionStart
replaceAll
replaceAllRegion
replaceFirst
reguireEnd
reset
split
start
text
toMatcheResult
toString(Matcher)
toString(Pattern)
useAnchoringBounds
usePattern
useTransparentBounds
Pinned Message
HOTODOGO
I'm looking for a SOFTWARE PROJECT DIRECTOR / SOFTWARE R&D DIRECTOR position in a fresh and dynamic company. I would like to gain the right experience and extend my skills while working in great teams and big projects.
Feel free to contact me.
For more information, please view online résumé or download PDF
本人正在寻求任职 软件项目经理 / 软件技术经理 岗位的机会, 希望加⼊某个新鲜⽽充满活⼒的公司。
如有意向请随时 与我联系
更多信息请 查阅在线简历下载 PDF