The Artima Developer Community
Sponsored Link

Java Buzz Forum
Beware of using java.util.Scanner with “/z”

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mike Kaufman

Posts: 125
Nickname: mkaufman
Registered: Jan, 2007

Mike Kaufman started programming in 1973 and is still here.
Beware of using java.util.Scanner with “/z” Posted: Dec 17, 2011 9:38 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Mike Kaufman.
Original Post: Beware of using java.util.Scanner with “/z”
Feed Title: Closing Braces
Feed URL: https://closingbraces.net/feed/
Feed Description: After-hours notes and opinions on Java and system development.
Latest Java Buzz Posts
Latest Java Buzz Posts by Mike Kaufman
Latest Posts From Closing Braces

Advertisement
For Java's Scanner, a regex of "/z" for "end of input" doesn't always read the entire input if it's a SequenceInputStream.

Read: Beware of using java.util.Scanner with “/z”

Topic: Subversion 1.7 support update Previous Topic   Next Topic Topic: The Pragmatic Programmer - Review / Summary Notes.

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use