Hi Everyone,
I think that this is a good idea ( use regular expresion ):
$str = "perl editor free blind accessible";
$str =~ s/^(.*?\s.*?)\s(.*?)\s(.*?\s.*?)$/$1\n$2\n$3\n/i;
print $str;
To make this you have of course other-s way use split and others things.
Best Regards,
Boris Penchev
Wiggins D'Anconia wrote at Sat, 07 Sep 2002 05:34:55 +0200:
> Octavian Rasnita wrote:
>> Hi and thank you. It works!
>> Could you explain me please in a few words what is this line doing exactly?
>> I want to learn.
>>
>> print join "\n", grep defined, ($string =~ /"(.*?)"|(\w+)/g);
>>
> [snipp
About one year before Perl was invented (1987, as I understand it), I
created a text-processing language of my own, named Parse-O-Matic. Like
Perl, it ended up being a veritable Swiss Army Knife. However, it only has
a few thousand users and I think it's time to admit defeat and switch to
Perl.
- Original Message -
From: "Timothy Campbell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 06, 2002 4:08 PM
Subject: Switching to Perl
> ...All I want is the essential perl.exe (for WinXP) so I can start
learning.
>
> Can you tell me where I might find such a beast
Hi all,
I am trying to match a word boundry or an end of string.
I would like something like:
/$word[\bX]/
where X is the symbol used for end of string. I know that I can use $ but I
don't think I can use it between brackets.
I've seen that \b doesn't match the end or beginning of a string.
I