[darcs-devel] darcs patch: add test case for replacing tokens with ... (and 2 more)

Tommy Pettersson ptp at lysator.liu.se
Sat May 14 02:32:07 PDT 2005


On Fri May 13 07:12:38 2005, droundy at abridgegame.org (David Roundy) wrote:
> I don't really like this approach.  I'd much rather avoid encoding
> whitespace whenever possible.

Very well, let's do it that way then.  :-)

> I guess another solution would be to put tokens on lines by themselves if
> the regular expression allows embedded space characters.  Okay, that seems
> much nicer.
> 
> The parsing of the regexp in the replace definitely should search for the
> opening and trailing brackets, rather than simply using sal_lex as it
> does...

I'll try this.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-devel mailing list