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

Re: regex trouble

by CountZero (Bishop)
on Mar 05, 2010 at 07:16 UTC ( [id://826898]=note: print w/replies, xml ) Need Help??


in reply to regex trouble

The caret ("^") in your regex means that the pattern is anchored at the beginning of the string, so if your v09.11-e020 string can be found anywhere in the paragraph, this regex will only match if it is at the very beginning of the paragraph. You probably want to drop the caret.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2024-04-23 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found