Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Regexp Confuzzelemt

by jettero (Monsignor)
on Apr 27, 2007 at 14:19 UTC ( #612385=note: print w/ replies, xml ) Need Help??

in reply to Regexp Confuzzelemt

I'm guessing, but I think [^\?] doesn't do what you think... That means to match any one character that is not a '?'.

I would choose something simple like this:

if( $line =~ m/(?<=\#)(\w+)(?=\?\w+)/ ) {

Of course, you probably want to make sure the word characters start with caps and things...


Comment on Re: Regexp Confuzzelemt
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-11-29 00:44 GMT
Find Nodes?
    Voting Booth?

    My preferred Perl binaries come from:

    Results (200 votes), past polls