Mr. Shawn H. Corey wrote:
> On Mon, 2008-08-11 at 23:30 +0100, Rob Dixon wrote:
>> Mr. Shawn H. Corey wrote:
>>> On Mon, 2008-08-11 at 14:02 -0700, Saya wrote:
I have the following issue:
my $s = "/metadata-files/test-desc.txt,/metadata-files/birthday.txt,/
web-media/images
On Mon, 2008-08-11 at 23:30 +0100, Rob Dixon wrote:
> Mr. Shawn H. Corey wrote:
> > On Mon, 2008-08-11 at 14:02 -0700, Saya wrote:
> >>
> >> I have the following issue:
> >>
> >> my $s = "/metadata-files/test-desc.txt,/metadata-files/birthday.txt,/
> >> web-media/images/bday-after-help.jpg,javascri
Mr. Shawn H. Corey wrote:
> On Mon, 2008-08-11 at 14:02 -0700, Saya wrote:
>>
>> I have the following issue:
>>
>> my $s = "/metadata-files/test-desc.txt,/metadata-files/birthday.txt,/
>> web-media/images/bday-after-help.jpg,javascript:popUp('/pop-ups/
>> birthday/main.html','bday-pics',785,460);"
Saya wrote:
>
> I have the following issue:
>
> my $s = "/metadata-files/test-desc.txt,/metadata-files/birthday.txt,/
> web-media/images/bday-after-help.jpg,javascript:popUp('/pop-ups/
> birthday/main.html','bday-pics',785,460);"
>
> Now I want $s to be like: "/metadata-files/test-desc.txt,/meta
On Mon, 2008-08-11 at 14:02 -0700, Saya wrote:
> Hi,
>
> I have the following issue:
>
> my $s = "/metadata-files/test-desc.txt,/metadata-files/birthday.txt,/
> web-media/images/bday-after-help.jpg,javascript:popUp('/pop-ups/
> birthday/main.html','bday-pics',785,460);"
>
> Now I want $s to be l
Jess Balint wrote:
>
> Hello all. I am trying to 'code' an address into a certain format. The
> format is as follows:
>
> first 4 digits of street #
> first 4 street name
> first 2 of address line 2
> first 3 of zip code
>
> The data is a pipe delimited file with the following format:
>
> cons
You will need to escape the | as \| otherwise won't do what you
think. I checked to make sure.
Wags ;)
-Original Message-
From: Tom Stewart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 11:18
To: Balint, Jess; [EMAIL PROTECTED]
Subject: RE: Regex Help Please!?
Why not drop it in an array and split it and work with it from there? I am not sure
what your final goal is but this way you can work with each field independently and
check if your address_line_2 is blank.
open(FILE,$file) || die "could not open $file";
while() {
@data = split(/|/,$_);
}
: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Regex help Please...
--- [EMAIL PROTECTED] wrote:
> I know this is not a good RegEx. Can I see some criticism and fine-tuning
of
> this RegEx that I came up with?
>
> Objective: To parse the path to drive, directory and file name.
--- [EMAIL PROTECTED] wrote:
> I know this is not a good RegEx. Can I see some criticism and fine-tuning of
> this RegEx that I came up with?
>
> Objective: To parse the path to drive, directory and file name.
>
> Here is what I came up with.
>
> #
> $fullpath =
Couldn't it be:
m#^([^\\/]+)(.*)([^\\/]+)$# )
At Thursday, 31 January 2002, [EMAIL PROTECTED] wrote:
>I know this is not a good RegEx. Can I see some criticism and fine-
tuning of
>this RegEx that I came up with?
>
>Objective: To parse the path to drive, directory and file name.
>
>Here is wha
11 matches
Mail list logo