Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: parsing a line

by kennethk (Abbot)
on Nov 19, 2012 at 22:43 UTC ( #1004624=note: print w/replies, xml ) Need Help??


in reply to parsing a line

You are having trouble because : is not a 'word character' -- see Using character classes in perlretut. Easiest solution would be to remove the s modifier (Modifiers) and use .+, which will match every character except a newline (once you remove s).


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004624]
help
Chatterbox?
[choroba]: You definitely can, but the How is complex. It probably depends on the WM (but you can probably tweak the underlying X layer to provide it)
[choroba]: Google says that on Ubuntu, you can just use Ctrl+Shift instead of Alt

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-12-13 11:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (357 votes). Check out past polls.

    Notices?