in reply to Regex problem
\ and * are special characters in regexp. (\ is actually special in all literals except heredocs.) You need to escape them by preceeding them with a \.
$value =~ s#\\\*#STAR#g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |