First page Back Continue Last page Overview Graphics
Regex
java.util.regex (Java 1.4) – // Regex.java
- String.split(str), StringTokenizer
- Hledání/nahrazování řetězců
- Dokumentace (gram. typ 3 (regulární), reg. jazyky, kon. aut.)
Pattern (compile, matcher, split)
- Regulární výraz (\t,\n,\d,\b, \w,\s,\p{},[],.,^,$,*,?,+,{},|,(),\num)
- greedy, reluktant (?), possessive (+)
- Modifikátory (case-insensitive, new line, unicode related, ...)
Matcher
- matches, lookingAt, find, start, end, group, reset, replaceFirst, replaceAll, appendReplacement, appendTail
String (matches, split, replaceFirst, replaceAll)
- // StringBuffer, StringBuilder (not synchronized, Java 1.5), StringTokenizer, NumberFormater, DecimalFormater