Paul Eggert wrote:
>
> > Bruce> never, ever use substitution separator
> > Bruce> chars inside of the substitution expressions, period.
>
> I've had good luck with strings like `/foo[\/]bar/' in cases where I
> already know from context that the matched string can't contain `\'.
> That's portable, as it works with both the traditional and the POSIX
> interpretation.
But you are playing in muddy water with no real benefit.
If you can avoid the mud, do so. :-) Of course, if you
are trying to use that expression to address a line of text
(instead of using it in a substitution expression), you
may not be able to avoid mud...