Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #909

Re: Help needed.

From lewbloch <lewbloch@gmail.com>
Newsgroups comp.lang.java.help
Subject Re: Help needed.
Date 2011-07-30 16:19 -0700
Organization http://groups.google.com
Message-ID <e4958e4a-cb19-4cbc-b52c-6cacef15bd22@r11g2000prd.googlegroups.com> (permalink)
References <37f0537b-a064-4b12-9b6f-c104df52f4ba@k15g2000yqd.googlegroups.com> <j0nl7o$tpu$1@dont-email.me> <07461a44-6c77-4ecc-aa5b-84d8450d8f86@m18g2000vbl.googlegroups.com> <f9f7c570-4d0b-4ab7-91a5-b1e839735fab@f39g2000prb.googlegroups.com>

Show all headers | View raw


lewbloch <lewbl...@gmail.com> wrote:
> (Note that 'Scanner#nextInLine()' takes a pattern, not a literal
> string, as its argument.)

Correction to my own post: The pattern is expressed as a literal
string, in Java terms.  What I meant was that the string is not
interpreted literally, but as a regular expression.  So the match in
your original example,

  myScanner.findInLine(".")

is to any single character, not just the '.' character.

--
Lew

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Help needed. neil furnival <neil.furnival@googlemail.com> - 2011-07-26 15:47 -0700
  Re: Help needed. markspace <-@.> - 2011-07-26 17:13 -0700
    Re: Help needed. neil furnival <neil.furnival@googlemail.com> - 2011-07-27 01:49 -0700
      Re: Help needed. lewbloch <lewbloch@gmail.com> - 2011-07-28 08:50 -0700
        Re: Help needed. lewbloch <lewbloch@gmail.com> - 2011-07-30 16:19 -0700
    Re: Help needed. Gene Wirchenko <genew@ocis.net> - 2011-07-27 11:33 -0700
  Re: Help needed. Roedy Green <see_website@mindprod.com.invalid> - 2011-07-26 22:09 -0700

csiph-web