Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: howto simpl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 5 Topic 11023 of 11532
Post > Topic >>

Re: howto simplfy this regex if ($string =~/^$match | $match | $match$/g){

by chas.owens@[EMAIL PROTECTED] (Chas. Owens) May 4, 2008 at 01:47 AM

On Sun, May 4, 2008 at 1:45 AM, Gunnar Hjalmarsson <noreply@[EMAIL PROTECTED]
>
wrote:
snip
> > if ($string =~/^$match | $match | $match$/g){
snip
>     my $match = qr(\b1\b);
snip

Ah, I was missing something, the spaces.  This is much better than my
answer.

-- 
Chas. Owens
wonkden.net
The most im****tant skill a programmer can have is the ability to read.
 




 5 Posts in Topic:
howto simplfy this regex if ($string =~/^$match | $match | $matc
itshardtogetone@[EMAIL PR  2008-05-04 13:19:50 
Re: howto simplfy this regex if ($string =~/^$match | $match | $
chas.owens@[EMAIL PROTECT  2008-05-04 01:29:02 
Re: howto simplfy this regex if ($string =~/^$match | $match | $
chas.owens@[EMAIL PROTECT  2008-05-04 01:47:28 
Re: howto simplfy this regex if ($string =~/^$match | $match | $
noreply@[EMAIL PROTECTED]  2008-05-04 08:05:48 
Re: howto simplfy this regex if ($string =~/^$match | $match | $
noreply@[EMAIL PROTECTED]  2008-05-04 07:45:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 6:23:12 CDT 2008.