|
From: | Ralf Angeli |
Subject: | Re: Then how to replace all my $$ ... $$ to \[ \] through search and replace? |
Date: | Fri, 15 Aug 2008 10:40:30 +0200 |
* Tassilo Horn (2008-08-15) writes: > "xiaopeng hu" <huxiaopengstat@gmail.com> writes: > >> Then how to replace all my $$ ... $$ to \[ \] through search and >> replace? Thanks > > M-x query-replace-regexp RET \$\$\(.+\)\$\$ RET \\[\1\\] RET This won't work because `.' does not match a newline. Using `[^$]' instead should do it. -- Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |