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

Re: RegEx advice needed

by monktim (Friar)
on Oct 23, 2003 at 19:01 UTC ( [id://301673]=note: print w/replies, xml ) Need Help??


in reply to RegEx advice needed

Do you really want to strip off the last dot in rdtg7.0.4.7?

In the SW regex you can do this:
push @array, $1 if ( /SW(?:_REV)?:?\s*([^;\$]+)/ );
What do you want to do in the verion regex if there is more than one version?
Update: Added ? after (?:_REV).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (2)
As of 2024-04-25 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found