[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Events list



On Sun, Jul 06, 2003 at 06:40:50PM +0200, Frank Lichtenheld wrote:
> They test against something like /^<define-tag foo>(.*)</define-tag>$/
> As one can see, trailing whitespace is not permitted. I changed it in
> the swedish file however I propose we just kill the ^ and $ in the
> regexes because they create such nasty errors. Any objections?

Why not loosen it up in a more graceful fashion, by using
/^\s*<define-tag foo>(.*)</define-tag>\s*$/ ?

-- 
     2. That which causes joy or happiness.



Reply to: