Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: Bug in script, regex help req extreme urgent

by sid.verycool (Novice)
on Mar 10, 2013 at 07:22 UTC ( [id://1022652]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Bug in script, regex help req extreme urgent
in thread Bug in script, regex help req extreme urgent

ohk... i didnt knew about this feature that explains like this. Another important point i wish to make, I want to ignore // lines. Suppose somebody writes something like // module OLD(Y, A, B); would my $string not match and make script behavior wrong?? thats why i was trying to give ^module (WHICH MAKE SURE THAT ITS NOT A COMMENT). WHITESPACE AND TABS ARE OK BUT NO // BEFORE matching expression

Replies are listed 'Best First'.
Re^5: Bug in script, regex help req extreme urgent
by jms53 (Monk) on Mar 10, 2013 at 13:51 UTC
    next if m{\A//}
    J -

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2024-04-18 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found