Find/Replace in Files: Inconsistent with basic Find/Replace

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mike004
Posts: 18
Joined: Fri Feb 18, 2011 2:29 pm

Find/Replace in Files: Inconsistent with basic Find/Replace

Post by mike004 »

XML Author 12.1, build 2011012011 on Red Hat Linux 5.5

I am finding that using the same regular expression for Find/Replace (on a single file) and Find/Replace in Files (across multiple files) does not return consistent results.

For example, finding multiple white spaces
Regular expression is \s\s+
Using Find/Replace ignores any line returns and grabs white space across lines.
Using Find/Replace in Files stops at a line return and just grabs white space to the end of the line.
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Find/Replace in Files: Inconsistent with basic Find/Replace

Post by adrian »

Hello,

This is a known limitation, Find/Replace in Files searches one line at a time, so you cannot obtain search matches that span over multiple lines.
We do plan to resolve this limitation in a future version of Oxygen. I've added your vote for this.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply