[26665] in Perl-Users-Digest
Perl-Users Digest, Issue: 8772 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Dec 18 00:06:37 2005
Date: Sat, 17 Dec 2005 21:05:06 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sat, 17 Dec 2005 Volume: 10 Number: 8772
Today's topics:
Problem matching with regexp <t18_pilot@hotmail.com>
Re: Problem matching with regexp <noreply@gunnar.cc>
Re: Problem matching with regexp <sdn.girths00869@zoemail.net>
Re: What is the reason for Perl? <sdn.girths00869@zoemail.net>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 17 Dec 2005 23:18:09 GMT
From: "William Hymen" <t18_pilot@hotmail.com>
Subject: Problem matching with regexp
Message-Id: <R01pf.6379$3Z.3034@newsread1.news.atl.earthlink.net>
All,
In the following regexp:
$search_for_label = "JB_CIQI_PPWM_REL_3546"
$CLBL="JB_CIQI_PPWM_REL_3546"
this regexp does not seem to match.
if ( $CLBL =~ /\Q$search_for_label\E/i )
I also need to match on "." dots
in the label, which is why I am using Q and E
Am I doing the pattern match wrong?
Thanks in advance
Bill
------------------------------
Date: Sun, 18 Dec 2005 00:27:14 +0100
From: Gunnar Hjalmarsson <noreply@gunnar.cc>
Subject: Re: Problem matching with regexp
Message-Id: <40jl6kF1b1oa0U1@individual.net>
William Hymen wrote:
> In the following regexp:
>
> $search_for_label = "JB_CIQI_PPWM_REL_3546"
> $CLBL="JB_CIQI_PPWM_REL_3546"
>
> this regexp does not seem to match.
> if ( $CLBL =~ /\Q$search_for_label\E/i )
Really? Please post a short but complete program that illustrates the
problem you are having, as is suggested in the posting guidelines for
this group:
http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
------------------------------
Date: Sat, 17 Dec 2005 20:08:44 -0600
From: "Eric J. Roode" <sdn.girths00869@zoemail.net>
Subject: Re: Problem matching with regexp
Message-Id: <Xns972FD783AED1Dsdn.comcast@216.196.97.136>
"William Hymen" <t18_pilot@hotmail.com> wrote in news:R01pf.6379$3Z.3034
@newsread1.news.atl.earthlink.net:
> All,
>
> In the following regexp:
>
> $search_for_label = "JB_CIQI_PPWM_REL_3546"
> $CLBL="JB_CIQI_PPWM_REL_3546"
>
> this regexp does not seem to match.
> if ( $CLBL =~ /\Q$search_for_label\E/i )
Works for me.
--
Eric
`$=`;$_=\%!;($_)=/(.)/;$==++$|;($.,$/,$,,$\,$",$;,$^,$#,$~,$*,$:,@%)=(
$!=~/(.)(.).(.)(.)(.)(.)..(.)(.)(.)..(.)......(.)/,$"),$=++;$.++;$.++;
$_++;$_++;($_,$\,$,)=($~.$"."$;$/$%[$?]$_$\$,$:$%[$?]",$"&$~,$#,);$,++
;$,++;$^|=$";`$_$\$,$/$:$;$~$*$%[$?]$.$~$*${#}$%[$?]$;$\$"$^$~$*.>&$=`
------------------------------
Date: Sat, 17 Dec 2005 06:59:07 -0600
From: "Eric J. Roode" <sdn.girths00869@zoemail.net>
Subject: Re: What is the reason for Perl?
Message-Id: <Xns972F518C33DA6sdn.comcast@216.196.97.136>
robic0 wrote in news:t5d7q15ishiomte1ee61t8nucnh9j5ibt5@4ax.com:
> On Fri, 16 Dec 2005 13:36:37 +0100, Erwin Moller
[...]
>>Have a nice life.
>>
>>Erwin Moller
>
> Who in the fuck are you asshole?
It's nice to see such an intellectual comeback.
--
Eric
`$=`;$_=\%!;($_)=/(.)/;$==++$|;($.,$/,$,,$\,$",$;,$^,$#,$~,$*,$:,@%)=(
$!=~/(.)(.).(.)(.)(.)(.)..(.)(.)(.)..(.)......(.)/,$"),$=++;$.++;$.++;
$_++;$_++;($_,$\,$,)=($~.$"."$;$/$%[$?]$_$\$,$:$%[$?]",$"&$~,$#,);$,++
;$,++;$^|=$";`$_$\$,$/$:$;$~$*$%[$?]$.$~$*${#}$%[$?]$;$\$"$^$~$*.>&$=`
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 8772
***************************************