Team LiB
Previous Section Next Section

Index

S

saveXML method, 151
searchFile method, 194
searching, 46–48
directory for file containing expression, 203–7
files, 192–96
strings, 189–92
searchString method, 192
split(CharSequence input, int limit) method, 68–70, 235–36
split(CharSequence input) method, 65–68, 234–35
split(String regex, int limit) method, 110–12
split(String regex) method, 109–10
splitting strings, 48–51
start method, 77–78, 97
and find method, 93
and group method, 87
and replaceFirst method, 106
start(int group) method, 78–81, 237
storing patterns externally, 146–60
not using normal property file, 147–48
not using XML, 148–52
overview, 146–47
using FileChannels and ByteBuffers, 152–60
String object, 106–12
and common characters, 11
delimiting strings, 106–7
group method, 86–90
and groups, 71, 72
indexOf method, 113, 160
matcher method, 43
matches method, 15, 53
matches(regex) method, 38
matches(String regex,CharSequence input) method, 64
matches(String regex) method, 22, 45, 107–8
modification of, 52
replaceAll method, 103–5, 109, 175
replaceFirst method, 108, 108–9
split method, 68, 113, 114, 185
split(CharSequence input, int limit) method, 68–70
split(CharSequence input) method, 65–68
split(String regex, int limit) method, 110–12
split(String regex) method, 109–10
substring method, 46, 87
StringBuffer object, 98, 99, 100–101, 103
strings
data validation with, 42–44
prechecking candidate strings, 138
searching, 189–92
splitting, 48–51
StringTokenizer, 1, 109, 163
subgroups, 119–22
substrings method, 46
syntax of regular expressions, 7–20
back references, 20–21
boundary characters, 11–12
character classes, 15–17
common characters, 9–11
groups, 18–19
overview, 7
quantifiers and alternates, 12–15
reading patterns, 8–9

Team LiB
Previous Section Next Section