Jani Averbach <jaa(a)cc.jyu.fi> writes:
[...]
What I get:
$query .= "bc ";
$query .= "de ";
$query .= "r ";
What had happen to "sar" -> "r " ???
I can reproduce this with fresh started XEmacs (21.4.8) with modeline:
Query replace regexp ^[:space:]*\(.*\) with: \$query .= "\1 ";
I guess, [:space:] is a character class (correct wording?) and I
believe, XEmacs doesn't grok this. As an effect, the regexp matcher
sees a set of single characters to match against.
Have you tried using SPC and TAB in your regular expression? This
works for me.
norbert.