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/
In reply to Regexp Problems by cored
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |