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

Re: regex

Thread Previous
Nicholas Clark
January 17, 2003 13:25
Re: regex
Message ID:
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. 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,
or on the Perl Monks' site at
You may find other useful information at
However, Perl Monks is probably the best place to ask this sort of question.

Nicholas Clark

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About