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


Groups > comp.lang.postscript > #453 > unrolled thread

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

Started byAlec Taylor <alec.taylor6@gmail.com>
First post2011-11-14 09:30 -0800
Last post2011-11-14 10:08 -0800
Articles 3 — 2 participants

Back to article view | Back to comp.lang.postscript


Contents

  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

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

FromAlec Taylor <alec.taylor6@gmail.com>
Date2011-11-14 09:30 -0800
SubjectCustom Longest Common Substring which includes a number fails when word appears before number
Message-ID<12772195.195.1321291837830.JavaMail.geo-discussion-forums@prmf13>
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

[toc] | [next] | [standalone]


#454

Fromluser- -droog <mijoryx@yahoo.com>
Date2011-11-14 09:52 -0800
Message-ID<97496477-e82e-4782-9fbe-1a7bde10ca0e@m7g2000vbc.googlegroups.com>
In reply to#453
On Nov 14, 11:30 am, Alec Taylor <alec.tayl...@gmail.com> wrote:
> 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


Where's the part that has anything to do with Postscript?

[toc] | [prev] | [next] | [standalone]


#455

FromAlec Taylor <alec.taylor6@gmail.com>
Date2011-11-14 10:08 -0800
Message-ID<20590614.361.1321294083248.JavaMail.geo-discussion-forums@prou19>
In reply to#454
Sorry, I misread the bar in the left, was meant to be posted in the lang.C++

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.postscript


csiph-web