
Signature
Knute Johnson
email s/nospam/knute/
On Mon, 17 Apr 2006 11:45:32 -0700, Knute Johnson
<nospam@ljr-2.frazmtn.com> wrote, quoted or indirectly quoted someone
who said :
>> s.replaceAll(Pattern.quote("'"),
>> Matcher.quoteReplacement("\\'"));
[quoted text clipped - 3 lines]
>
>It sure is and it sure has!
if we had to do this over, i think you would have named methods:
replaceFirst, replaceAll, replacePatterns
or perhaps
replaceChars, replaceString, replaceStrings, replacePatterns

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
Chris - 19 Apr 2006 17:50 GMT
> if we had to do this over, i think you would have named methods:
>
[quoted text clipped - 3 lines]
>
> replaceChars, replaceString, replaceStrings, replacePatterns
I think I would have done replaceAll(String, String) and also a
replaceAll(Pattern, String).

Signature
www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation