Re: Regular expression to match non-breaking spaces

2011-03-12 Thread wolfgang haefelinger
Peter, >>   > flags="g" byline="true" encoding="utf-8" /> I assume that Ant's XML parse will digest your character reference. In effect you are doing nothing more than Have you tried something like instead? // Wolfgang On Sat, Mar 12, 2011 at 12:48 AM, Brian Agnew wrote: > You might want

Re: Regular expression to match non-breaking spaces

2011-03-11 Thread Brian Agnew
You might want to try XMLTask, which reads XML natively and handles the specified character encodings. It'll do regexp replacements. http://www.oopsconsultancy.com/software/xmltask On 11/03/2011 18:26, Peter Desjardins wrote: Hi. I'm trying to replace every non-breaking space character in a fi

Regular expression to match non-breaking spaces

2011-03-11 Thread Peter Desjardins
Hi. I'm trying to replace every non-breaking space character in a file with a normal space character. The source file is encoded using UTF-8. I can't get this to work using the replaceregexp task. Here's the syntax I'm using: I've tried other ways to match non-breaking spaces (  \0240 U+00A0)