Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Can't match negated words.

by Abigail-II (Bishop)
on Jun 24, 2004 at 16:03 UTC ( #369413=note: print w/replies, xml ) Need Help??


in reply to Re^2: Can't match negated words.
in thread Can't match negated words.

I think it should look something like this?
No, I think not, for exactly the reasons I stated. But if you're convinced you're right, by all means, use your regex. It's not my program after all.
I can't really understand what the '.)*' means after the throw?
It doesn't make any sense at all. It's like asking what the "nd wh" in your question means. A dot means "match any character", and a star means "match the preceeding unit one or more times", but the closing parenthesis is belongs to the matching opening one.

However, if you don't understand the most basic regexp tokens, I urge you to first learn basic regexes, before continuing asking questions.

Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://369413]
help
Chatterbox?
[1nickt]: ugh, buying a computer is hard for an old person
[stevieb]: How do you mean?
[1nickt]: They assume that I want things I don;t and don;t provide things I do want. Looking for a 17" laptop with 4k (even 3K display) and full numeric-pad keyboard.
[1nickt]: They assume that if I want a 17" monitor I could not possibly want 4k screen
[1nickt]: They assume I do not need a DVD drive

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-03-26 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.