18 Feb
2008
18 Feb
'08
6:52 p.m.
[] has the advantage of being easily translatable to ``, whereas for the other way round you'd need to parse the string in order to find out which one is the opening character and which one is the closing one.
No. Since identifiers don't really contain whitespace, it's just s/ `([^`\s]+)`/[$1]/. You can add an additional whitespace to be matched before and after the backticks, but they are not necessary when the backticks are used correctly. Konstantin