Re: REPOST: Regex compilation in mod_perl?

2001-06-05 Thread Len Walter
about four days. Thanks! On Tue, 5 Jun 2001, Timothy Kimball wrote: > > Len Walter wrote: > : Since the data is "string\n\rstring" I figured I could use split /^/ to > : separate out the individual strings. There's probably an easier way to do it > : though... the spli

REPOST: Regex compilation in mod_perl?

2001-06-04 Thread Len Walter
Hi all, I'm trying to write a script to retrieve a list of URLs, search them for a list of words and print the results. I wrote it first as a standalone script and got it working, but when I converted it to a web page it no longer works properly. The data is typed into two TEXTAREAs, one url

resend with 78 columns: Re: Regexp compilation in mod_perl?

2001-06-02 Thread Len Walter
whoops, Netscape automatically formatted my mail before. Here's a more readable version. Curtis, thanks for your response. I didn't realise that the recompilation problem didn't apply unless I used /o. I am actually trying to split some multiline data into single lines, so the caret is intent

Re: Regexp compilation in mod_perl?

2001-06-01 Thread Len Walter
Curtis, thanks for your response. I didn't realise that the recompilation problem didn't apply unless I used /o. I am actually trying to split some multiline data into single lines, so the caret is intentional. The data is typed into a TEXTAREA, one url or string to a line. The url of the scrip

Regexp compilation in mod_perl?

2001-06-01 Thread Len Walter
G'day, I've got a problem with a script I'm writing which will run under mod_perl. It accepts a list of urls and a list of strings and returns a list of which urls contain which strings. That's not complicated and I got it working fairly quickly without any CGI involved. Then I tried to conver