Java: Boundary matchers

413 단어
참고: 패턴 경계 matchers
^   The beginning of a line
$   The end of a line
\b  A word boundary
\B  A non-word boundary
\A  The beginning of the input
\G  The end of the previous match
\Z  The end of the input but for the final terminator, if any
\z  The end of the input

Scanner 에서 읽 기 흐름 의 끝 사용 하기
 Scanner(istream, charsetName).useDelimiter("\\Z").next();

좋은 웹페이지 즐겨찾기