On Fri, 26 Mar 2004, Matthias Fuhrmann wrote:
> On Fri, 26 Mar 2004, Al Danks wrote:
>
> > >I think you may need to replace it with something like '[.|\n]'
> >
> > {4}/i
> >
> > Kevin,
> >
> > Thanks for the suggestion. I changed the rule to:
> >
> > full
> > /(\b(best|most|more|((best|bett|bigg|larg|fast|quick)(er|est)))\b[.|\n]*)
>
> you forgot a "/" at the end of this rule.
i made a text file containg this line:
We are bigger.
He is faster.
She is quicker.
I am better.
and this command line:
cat test.txt | perl -ne 'print if
/(\b(best|most|more|((best|bett|bigg|larg|fast|quick)(er|est)))\b[.|\n]*)/'
gave me this:
We are bigger.
He is faster.
She is quicker.
I am better.
so it seems working, or isnt it kinda proove ?
regrads,
Matthias