Re: using regular expressions to find sequences of items in data

2002-01-06 Thread John W. Krahn
"John W. Krahn" wrote: > > Jon Hans wrote: > > > > #ugly > >if ( defined $frequency{$datalist[$first]} && > > defined $frequency{$datalist[$first+1]} && > > $frequency{$datalist[$first+2]} && > > $frequency{$datalist[$first+3]} && > > $frequency{$datalist[$first+4]} && > > $frequency{$datalis

Re: using regular expressions to find sequences of items in data

2002-01-06 Thread John W. Krahn
Jon Hans wrote: > > #!/usr/bin/perl > ### > > I am trying to find all of the reoccurring sequences > excluding the sub sequences. > > Maybe I am missing the obvious, but having a little > perl exposure and not being an expert perl programmer >

using regular expressions to find sequences of items in data

2002-01-06 Thread jon hans
#!/usr/bin/perl ### I am trying to find all of the reoccurring sequences excluding the sub sequences. Maybe I am missing the obvious, but having a little perl exposure and not being an expert perl programmer I have hacked together some code tha