example, in addition to a
------ Solution ------------------------------- -------------
[^ a]
------ Solution ------------------------------------ --------
[^a]
landlord can refer jdk help java.util.regex.Pattern document , there are some basic regular expressions summary.
------ Solution ------------------------------------ --------
plus cycles can not get the last one
------ For reference only ---------------- -----------------------
LZ paste it does not end , nine did not post a knot ------ For reference only --------- ------------------------------
immediately end
------ For reference only --- ------------------------------------
------ For reference only ---------- -----------------------------
to get the last matched string , several methods Matcher will not use < br> ------ For reference only ---------------------------------------
matcher.find () is next
------ For reference only --------------------------- ------------
matcher.groupCount () how always returns 0
------ For reference only ------------- --------------------------
this returns the number of captured group. .
没有评论:
发表评论