Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
java.util.regex.PatternJDK6の「境界マッチャー」「\z」と「\Z」の違いは何ですか?
java.util.regex.Pattern
背景: UTF-8 でエンコードされたファイルの内容をString. このソリューションに出会いました。java.util.scanner.useDelimeterが を使用していることを発見しましたjava.util.regex.Pattern。前述のソリューションでは、'\Z' が提案されています。
String
java.util.scanner.useDelimeter