Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
In Unix system the double quotes will expand the $1, so you may not get the actual output that you required. You can use single quotes or escape the $1(in double quotes) to solve this. But you can also achieve this using this simple method also.(substitute loo with lo (for this requirement/string. But it won't be nice for bigger match)).
-- The wisest mind has something yet to learn. In reply to Re: Regex capturing
by manoj_speed
|
|