Team LiB
Previous Section Next Section

Index

M

Map, 191
MappedByteBuffers, 195
matcher method, 63, 232
Matcher object
appendReplacement method, 98–102
appendTail method, 103
and back references, 123
date validation with, 44–46
end method, 81–86, 83–86
find method, 93–96
and finding duplicate words, 38–40
group method, 86–87
groupCount method, 90–91
and groups, 71–72
lookingAt method, 96–98
matcher method, 63
matches method, 91–92
overview, 70–71
pattern method, 73
and Pattern.matches method, 64–65
replaceAll method, 103–5
replaceFirst method, 105–6
reset method, 73–76
start method, 77–81
vs. String.matches method, 53
and String.replaceAll method, 109
and String.replaceFirst method, 108
matcher(CharSequence input) method, 63
matchers, defining, 3–4
matches
specifying postion of, 139
specifying size of, 140
matches method, 53, 91–92, 238
matches(String regex, CharSequence input) method, 64
matches(String regex,CharSequence input) method, 64–65, 233–34
matches(String regex) method, 107–8
MatchNameFormats.java program, 30
metacharacters, 5
Method class methods, 236–39
modifying contents of files, 196–99
MULTILINE flag, 58, 228–29

Team LiB
Previous Section Next Section