What about
quote: 'He said: "boo!"'
Can I capture matching string with ( ) and use it in the replace part of the regex with quote around ?
>perl -le"$_='abc'; s/(.)/[$1]/sg; print" [a][b][c]
In reply to Re^3: JSON error '"' expected, at character offset 1
by ikegami
in thread JSON error '"' expected, at character offset 1
by odrevet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |