Find/Replace in Files...
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 48
- Joined: Thu Mar 12, 2009 10:27 pm
Find/Replace in Files...
I've come across an issue with the "Find/Replace in Files" feature. With the following XML, the regex '<abc>\s*<def>' doesn't match, for some reason, whilst in the normal Find/Replace it does.
I suppose there must be some simple answer for this, but I'm baffled. Any ideas?
Code: Select all
<abc>
<def>test</def></abc>
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Find/Replace in Files...
Post by sorin_ristache »
Hello,
What do you mean it does not match as regex? I did a search on your text content with the regex <abc>\s*<def> in the Find/Replace dialog in Oxygen 10.2 and it matches correctly, that is it highlights in the editor. Do you use other version of Oxygen?
What do you mean by normal find/replace? Your search expression is a regex and you must enable the option Regular expression in the Find/Replace dialog.
Regards,
Sorin
What do you mean it does not match as regex? I did a search on your text content with the regex <abc>\s*<def> in the Find/Replace dialog in Oxygen 10.2 and it matches correctly, that is it highlights
Code: Select all
<abc>
<def>
What do you mean by normal find/replace? Your search expression is a regex and you must enable the option Regular expression in the Find/Replace dialog.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Find/Replace in Files...
Post by sorin_ristache »
In the Find/Replace in Files dialog the search expressions are applied at line level, that is the match must be on a single line. We have an enhancement request for multi-line search in this dialog as we have in the Find/Replace dialog.
Regards,
Sorin
Regards,
Sorin
-
- Posts: 7
- Joined: Thu Dec 11, 2008 6:14 am
Re: Find/Replace in Files...
I just noticed that find/replace in files is currently not multi-line. It would be a highly desirable feature for us to have that enhancement request implemented.
Sidenote: It would be equally useful if I could run queries from the xPath Builder across multiple files. Any plans for that?
Thanks!
Markus
--
Markus Flatscher, Project Editor
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: markus.flatscher@virginia.edu
Web: http://rotunda.upress.virginia.edu/
Sidenote: It would be equally useful if I could run queries from the xPath Builder across multiple files. Any plans for that?
Thanks!
Markus
--
Markus Flatscher, Project Editor
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: markus.flatscher@virginia.edu
Web: http://rotunda.upress.virginia.edu/
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Find/Replace in Files...
Post by sorin_ristache »
Hello,
Regards,
Sorin
We have an enhancement request logged in our system.mflat wrote:I just noticed that find/replace in files is currently not multi-line. It would be a highly desirable feature for us to have that enhancement request implemented.
We will consider that.mflat wrote:Sidenote: It would be equally useful if I could run queries from the xPath Builder across multiple files. Any plans for that?
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service