Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: RegEx advice needed

by monktim (Friar)
on Oct 23, 2003 at 19:01 UTC ( #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? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-08-07 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?