Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Confusion of the effect of $+ and $1

by igelkott (Priest)
on Mar 30, 2008 at 18:30 UTC ( [id://677365]=note: print w/replies, xml ) Need Help??


in reply to Confusion of the effect of $+ and $1

The simple answer is that $1 is the first match and $+ is that last match.

What may be more helpful is to suggest that you consider using a Date module from CPAN to parse date/time rather than rely on an overly complex regex.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2024-04-25 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found