<?xml version="1.0" encoding="windows-1252"?>
<node id="111621" title="Pattern Finding" created="2001-09-10 22:59:19" updated="2005-07-21 01:28:12">
<type id="115">
perlquestion</type>
<author id="72806">
artist</author>
<data>
<field name="doctext">
&lt;!-- edited by chipmunk: fixed typo in title --&gt;

Hi,&lt;BR&gt;
 Anyone has easy idea as how to find patterns in a given string where only number of patterns are known? One pattern can appear any number of times in the string. String contains nothing but patterns. Number of patterns is always more than 1. 
&lt;BR&gt;
&lt;pre&gt;
ex. string: helloworldhellohellohihellohiworld
    number of patterns:3
    ========================================
    Deduce patterns:hello, world, hi
&lt;/pre&gt;

&lt;p&gt;&lt;small&gt;&lt;b&gt;Edit&lt;/b&gt;: chipmunk 2001-09-10&lt;/small&gt;&lt;/p&gt;




</field>
</data>
</node>
