Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Search and replace help.

by philipbailey (Chaplain)
on Jul 10, 2011 at 21:12 UTC ( #913633=note: print w/ replies, xml ) Need Help??


in reply to Search and replace help.

There are two places where the left hand side of your s/// expression cannot match $line. That is:

  • f: will not match 'F:'
  • The third [a-z]+ will not match 'BeanName\SessionBean.RMWAppException'

No match, therefore no replacement.


Comment on Re: Search and replace help.
Select or Download Code
Re^2: Search and replace help.
by SouKenji (Novice) on Jul 10, 2011 at 21:21 UTC

    Thanks Philip!

    I just noticed the f to F.

    I had tried .+ before, but to no avail.

    Switched the F and the a-z+ to .+ and it all works great!

    Thanks again.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (19)
As of 2014-10-20 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (89 votes), past polls