Anthony Rumble <[EMAIL PROTECTED]> wrote:
> s/\$ord\{/\$ord\-\>\{/g
> Why doesn't that work?
Depending on which tool you're using, escaping things like { might actually
make them special, i.e., non-literal. Also, generally you don't need to
escape things in the replacement string.
So try
s/\$ord{/$ord->{/g
--
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug
- [SLUG] Stupid Regex questions.. Anthony Rumble
- Re: [SLUG] Stupid Regex questions.. Alexander Else
- Re: [SLUG] Stupid Regex questions.. Herbert Xu
- Re: [SLUG] Stupid Regex questions.. Rick Welykochy
- Re: [SLUG] Stupid Regex questions.. Anthony Rumble
- Re: [SLUG] Stupid Regex questions.. Rick Welykochy
- [SLUG] Re: Stupid Regex questions.. Angus Lees
- Re: [SLUG] Re: Stupid Regex questions... Herbert Xu
- Re: [SLUG] Stupid Regex questions.. Scott Howard
- Re: [SLUG] Stupid Regex questions.. Herbert Xu
- Re: [SLUG] Stupid Regex questions... Scott Howard
- Re: [SLUG] Stupid Regex quest... Herbert Xu
- Re: [SLUG] Stupid Regex questions.. Jim Clark
