in reply to Re: Re: Re: Changing .html to .asp
in thread Changing .html to .asp

Can you explain to me how to catch hrefs that are in capital letters. I know it has something to do with /i, but Im not sure where to put that. Thanks

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Changing .html to .asp
by snafu (Chaplain) on May 02, 2001 at 00:37 UTC
    According to the book I have here it says to use the regex:

    /regex/i

    So, in that grep I gave you place an i at the end of it like this:

    @FILES = grep(/a href.*/i,readdir(DESCRIPTOR))...

    Try that. Let me know if it works. Again, I am at work so I can't test it till later.

    ----------
    - Jim