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


Groups > comp.lang.postscript > #453

Custom Longest Common Substring which includes a number fails when word appears before number

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From Alec Taylor <alec.taylor6@gmail.com>
Newsgroups comp.lang.postscript
Subject Custom Longest Common Substring which includes a number fails when word appears before number
Date Mon, 14 Nov 2011 09:30:37 -0800 (PST)
Organization http://groups.google.com
Lines 15
Message-ID <12772195.195.1321291837830.JavaMail.geo-discussion-forums@prmf13> (permalink)
Reply-To comp.lang.postscript@googlegroups.com
NNTP-Posting-Host 58.165.138.142
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1321291875 19836 127.0.0.1 (14 Nov 2011 17:31:15 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Mon, 14 Nov 2011 17:31:15 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=58.165.138.142; posting-account=A5YXqgoAAAAbDxo-x9fcYgsEu_QAX8W5
User-Agent G2/1.0
X-Google-Web-Client true
Xref x330-a1.tempe.blueboxinc.net comp.lang.postscript:453

Show key headers only | View raw


Good morning,

Unfortunately my Custom Longest Common Substring function which includes a number failed when a word appears before the number.

This one works: http://ideone.com/SSoTe

This one fails: http://ideone.com/9xkB5

The second should have the same output as the first.

Can you point out the bug in my code?

Thanks for all suggestions,

Alec Taylor

Back to comp.lang.postscript | Previous | NextNext in thread | Find similar


Thread

Custom Longest Common Substring which includes a number fails when word appears before number Alec Taylor <alec.taylor6@gmail.com> - 2011-11-14 09:30 -0800
  Re: Custom Longest Common Substring which includes a number fails when word appears before number luser- -droog <mijoryx@yahoo.com> - 2011-11-14 09:52 -0800
    Re: Custom Longest Common Substring which includes a number fails when word appears before number Alec Taylor <alec.taylor6@gmail.com> - 2011-11-14 10:08 -0800

csiph-web