"Dot matches all" in the "Find/Replace in Files" dialog
Are you missing a feature? Request its implementation here.
-
- Posts: 5
- Joined: Sat Jan 21, 2012 11:29 am
"Dot matches all" in the "Find/Replace in Files" dialog
Post by erik.holley »
I'm happy to see that "Dot matches all" has made it into the Find/Replace dialog. I've been using Oxygen since 7.0 and have wanted all along. But, I really don't have much use for it as it is. I have around 100 files that need certain elements removed or commented out and "Dot matches all" is not in the Find/Replace in Files dialog.
Please add this crucial feature to the Find/Replace in Files dialog. We use regex for automation and multi-file automation is where it's needed most.
Please add this crucial feature to the Find/Replace in Files dialog. We use regex for automation and multi-file automation is where it's needed most.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: "Dot matches all" in the "Find/Replace in Files" dialog
Hello,
Dot matches all has only become useful in the Find/Replace in Files dialog starting with v14.0 when multi-line search was introduced for Find/Replace in Files.
The reason we have not introduced this option (Dot matches all) is that this makes greedy expressions even greedier and this impacts performance and memory usage significantly.
Note however that there is a simple workaround (for v14.0 and later), you can specify the (?s) flag in the regular expression.
e.g. (?s).* is the equivalent of .* with Dot matches all enabled.
I've logged your feature request to our issue tracking tool. This will be analyzed and if found appropriate, it will be implemented in a future version of Oxygen.
Regards,
Adrian
Dot matches all has only become useful in the Find/Replace in Files dialog starting with v14.0 when multi-line search was introduced for Find/Replace in Files.
The reason we have not introduced this option (Dot matches all) is that this makes greedy expressions even greedier and this impacts performance and memory usage significantly.
Note however that there is a simple workaround (for v14.0 and later), you can specify the (?s) flag in the regular expression.
e.g. (?s).* is the equivalent of .* with Dot matches all enabled.
I've logged your feature request to our issue tracking tool. This will be analyzed and if found appropriate, it will be implemented in a future version of Oxygen.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 5
- Joined: Sat Jan 21, 2012 11:29 am
Re: "Dot matches all" in the "Find/Replace in Files" dialog
Post by erik.holley »
Thanks. I'll give this a try. As for the processing and extra memory required for an authentic "Dot matches all". I get it. But, with an i7/16GB RAM, it would likely save me 30 minutes just to run the query over my document base than to write up the same function in Objective-C. I'd be happy to stretch my legs for a few minutes.adrian wrote:Note however that there is a simple workaround (for v14.0 and later), you can specify the (?s) flag in the regular expression.
e.g. (?s).* is the equivalent of .* with Dot matches all enabled.
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