in reply to Re^4: Exact string matching
in thread Exact string matching
Note that your approach will only return non-overlapping trigrams:
> perl -wle "print for 'howdoyoudo' =~ /([a-z]{3})/g" how doy oud
I would advise the original poster to really work on the question and maybe search CPAN for Ngrams or Trigrams.
|
|---|