Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Another puzzled RegEx Problem.

by Prof Vince (Friar)
on Sep 12, 2007 at 16:53 UTC ( [id://638612]=note: print w/replies, xml ) Need Help??


in reply to Another puzzled RegEx Problem.

Substitutions aren't everything. How about :
my $d = "123456789"; $d = join "-", $d =~ /(\d{1,2})/g;

Replies are listed 'Best First'.
Re^2: Another puzzled RegEx Problem.
by pysome (Scribe) on Sep 13, 2007 at 00:59 UTC
    Yes.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://638612]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-26 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found