develooper Front page | perl.dist | Postings from January 2003

Re: regex

Thread Previous
From:
Nicholas Clark
Date:
January 17, 2003 13:25
Subject:
Re: regex
Message ID:
20030117212204.GF297@Bagpuss.unfortu.net
On Fri, Jan 17, 2003 at 03:38:39AM -0500, Dong Lou wrote:
> Does anyone know how to use regular expression to tell the number of
> consecutive \'s in a string or if the number of consecutive \'s is odd
> or even.

The literal answer to your questions is "yes" and "yes". Probably several
people subscribed to this list can work out how to do it. But this isn't
the right place to ask that sort of question.

lists.perl.org says that perl-dist is for "Discussion list for splitting the
Perl distribution to be more flexible." Not for answering general "how do I
..." questions.

I'd suggest that you ask that question on the list perl-beginner@perl.org,
or on the Perl Monks' site at http://www.perlmonks.com/
You may find other useful information at http://learn.perl.org/
However, Perl Monks is probably the best place to ask this sort of question.

Nicholas Clark

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About