Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Regexp

by thelenm (Vicar)
on Jul 25, 2002 at 20:42 UTC ( [id://185333]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # non-greedy dot-star
    @colors = $new =~ m/(\[color=.*?\])/gi;
    
    # say what you mean: match non-] characters
    @colors = $new =~ m/(\[color=[^\]]*\])/gi;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-20 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found