Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Regular expression with capture following a match

by ioannis (Abbot)
on Oct 01, 2005 at 00:12 UTC ( [id://496564]=note: print w/replies, xml ) Need Help??


in reply to Regular expression with capture following a match

# This is the default, since we are not doing Unicode use bytes; $_ = 'speed basic-2.0 5.5 basic-11.0'; # In order to match 'anything', we must also match any newlines (my $result) = /\A \w+ \s+ (.*) \z/msxg; print $result;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-19 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found