Regex not working as expected

2006-09-04 Thread Chris Schults
the digits might have something to do with it, but not sure. Any thoughts? Thanks! Chris -- Chris Schults Web Production Manager Grist Magazine 710 Second Avenue, Suite 860 Seattle, WA 98104 Phone: 206-876-2020, ext. 204 Fax: 253-423-6487 http://www.grist.org To sign up

Regular expressions and closing HTML tags

2005-07-13 Thread Chris Schults
realized that this doesn't work if there is more than one link, like so: Here is a href=#some text/a that got a href=#truncated Any suggestions? Chris -- Chris Schults Web Production Coordinator Grist Magazine 811 First Avenue, Suite 466 Seattle, WA 98104 Phone: 206-876

Pattern matching to identify comma separated text

2005-03-08 Thread Chris Schults
I'm sending this on behalf of our intern Elmer. Thanks in advance for any assistance. Chris Hi there! If anyone out there is good with Perl's pattern matching, maybe you can help me out. I am trying to take a string and derive information from it that is separated by commas so I can then

Problem with script requiring valid referrer

2005-02-08 Thread Chris Schults
Hey all. On our website we have several forms (send a letter, ask a question, etc) that some of our visitors seem to have problems with. These forms require the referring page to be from a Grist Magazine domain. Here is some of the code: my $goback = param(goback) || ; my $url =

RE: Problem with script requiring valid referrer

2005-02-08 Thread Chris Schults
PROTECTED] Sent: Tuesday, February 08, 2005 11:25 AM To: Chris Schults Cc: Perl Beginners List Subject: Re: Problem with script requiring valid referrer On Tue, 8 Feb 2005, Chris Schults wrote: In both cases, our visitors swear that they are linking to these scripts from valid Grist pages. Any

Checking last character of string for punctuation

2005-02-02 Thread Chris Schults
Howdy all. I'm a newbie with a newbie question. I assume that I'm in the right place. I need to update some code a developer programmed for my organization. The purpose of the code is really basic. It simply prints: $title. $subtitle. However, some of my titles and subtitles end with

RE: Checking last character of string for punctuation

2005-02-02 Thread Chris Schults
*$/; Chris -Original Message- From: Ing. Branislav Gerzo [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 2:54 PM To: beginners@perl.org Subject: Re: Checking last character of string for punctuation Chris Schults [CS], on Wednesday, February 2, 2005 at 14:39 (-0800) wrote