Re: sed: backreference in substitution does not work as expected
Date: 30 Dec 2003 00:51:54 -0800
Chris Mattern <email@example.com> wrote in message news:<3FF0762B.firstname.lastname@example.org>...
> In sed
> REs, if you wish parentheses to be metacharacters,
> you must escape them with backslashes.
Thanks, that was it!
- Re: pygame music, cant read mp3?
... format is to use backslashes as separators, ... escaped in python's regular string literals, ... only because you've been lucky in not having escape characters following ... Notice that the \ gets doubled automatically by python in many ...
- Re: get only filenames and not directory names under a specific path.
... > I'm guess maybe it's must do that when it's double quotes. ... but with two exceptions: the escape character itself ... the string delimiter can also be escaped to allow embedded single quotes, ... means that a path with a trailing backslash needs two backslashes there to avoid ...
- Re: Reading Text Files
... Did not your compiler generate some mandatory diagnostics on ... escape sequences invoking undefined behaviour. ... the OP is not using C99. ... because backslashes are escape characters in ISO C. ...
- Re: simple question
... Quoting is simpler with $style command substitution. ... escape the inner quotes with backslashes. ... Shell Scripting Recipes: ...
- Re: Another Printing Question
... that backslashes inside string literals must not be escaped in VB.NET. ... Someone suggested that I escape them. ... but that's nonsense for VB.NET -- are you sure you are using ... got me rid of that filenotfound exception at that time. ...