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

Re: Comment mark

by physi (Friar)
on Feb 12, 2003 at 11:28 UTC ( [id://234651]=note: print w/replies, xml ) Need Help??


in reply to Comment mark

use strict; my @row = ('/* Version: 1.11', '# Version: 1.11' , '* Version: 1.11' , + 'Version: 1.11'); for (@row) { print "$_ -> matches\n" if( ($_ =~/^([#;*\s+]|\/\*)?\s*version:?\s+(\d ++\.\d+|)/i)); }
-----------------------------------
--the good, the bad and the physi--
-----------------------------------

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found