cored has asked for the wisdom of the Perl Monks concerning the following question:
now the other script needs to match any character repetetion i tried with the boundary scape sequence but i did not get any result here is my regex:#!/usr/bin/perl -w use scrict; open(INFO,"file.txt"); $cont="001"; while(<INFO>){ chomp(); if ( /x|(t|T)he/ ) { print "$cont $_";$cont++ } print "\n"; } close INFO;
wating for the help, and thx/\b\w.\b/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regexp Problems
by Zaxo (Archbishop) on Dec 16, 2002 at 12:39 UTC |