in reply to Re: counting the number of occurrances of a word using regex
in thread counting the number of occurrances of a word using regex

There's no point in putting parenthesis around the search pattern, is there? I find it remarkably that 3 out of the 5 followups so far put parenthesis around the search pattern, without using $1.

Abigail

Replies are listed 'Best First'.
Re: Re: counting the number of occurrances of a word using regex
by Ovid (Cardinal) on Dec 03, 2002 at 16:46 UTC

    You're right. I was just a-cuttin' and a-pastin' and not paying attention. That's a very bad habit of mine. Thanks for the reminder.

    Cheers,
    Ovid

    New address of my CGI Course.
    Silence is Evil (feel free to copy and distribute widely - note copyright text)