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


Groups > comp.lang.java.programmer > #30844

Re: remove question marks and exclamation points

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Eric Sosman <esosman@comcast-dot-net.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: remove question marks and exclamation points
Date Sat, 24 Jan 2015 20:13:21 -0500
Organization A noiseless patient Spider
Lines 17
Message-ID <ma1fun$9i4$1@dont-email.me> (permalink)
References <68b0cd7e-0dff-4e0f-9007-34ed5fd3d08f@googlegroups.com> <remove-20150125013638@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 25 Jan 2015 01:12:55 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="bd4e1cba8d8592bec5d5ed9e4537fbfd"; logging-data="9796"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jLYXGQ1c4+7jR1Goby/Yf"
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To <remove-20150125013638@ram.dialup.fu-berlin.de>
Cancel-Lock sha1:pHfFAAYSDDq5GV4TzbklvrhfoQI=
Xref csiph.com comp.lang.java.programmer:30844

Show key headers only | View raw


On 1/24/2015 7:36 PM, Stefan Ram wrote:
> elodie.gillain@gmail.com writes:
>> I wrote code to remove question marks and exclamation points from some text.
>>[...]
>    Also, it is always best to post an SSCCE.

     Um, er, he did.

     Well, very nearly.  He omitted "import java.util.Scanner;" and
he didn't exhibit a main() method to drive his code, but other than
that I'd say what he showed us qualifies as an SSCCE.  It's surely
close enough not to merit a demerit.  It's *definitely* enough to
allow an attentive reader to spot the problem.

-- 
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

remove question marks and exclamation points elodie.gillain@gmail.com - 2015-01-24 09:21 -0800
  Re: remove question marks and exclamation points Arne Vajhøj <arne@vajhoej.dk> - 2015-01-24 12:58 -0500
    Re: remove question marks and exclamation points Arne Vajhøj <arne@vajhoej.dk> - 2015-01-24 12:59 -0500
  Re: remove question marks and exclamation points Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-01-24 13:39 -0500
  Re: remove question marks and exclamation points elodie.gillain@gmail.com - 2015-01-24 11:36 -0800
  Re: remove question marks and exclamation points Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-01-24 20:13 -0500

csiph-web