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

Re (2) string substitution

by mandog (Curate)
on Oct 08, 2003 at 17:07 UTC ( #297663=note: print w/ replies, xml ) Need Help??


in reply to Re: string substitution
in thread string substitution

Greetings seaver

you might escape some of the chars in your char class.

For example, inside a char class '-' is a range operator. [a-e] instead of [abcde]

Also it is hard to tell the paren inside your char class from the first closing paren


Comment on Re (2) string substitution
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2014-12-22 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (126 votes), past polls