Tell search to ignore elements?
Oxygen general issues.
-
- Posts: 1
- Joined: Wed Mar 10, 2021 10:27 pm
Tell search to ignore elements?
Hello,
I hope you can help- I would like to know if there is a way to tell the search function in Oxygen to ignore elements?
In our project we are working in Chinese, and I would like to find the three-character string 繡毬燈 even if there is an element or line break at any point in the middle of it. With one search, I would like to find:
1)
繡
<lb n="2"/>毬燈
2)
繡毬
<lb n="2"/>燈
3)
繡毬燈
I am using 繡\s*?毬\s*?燈 so that it will search across line breaks/spaces, but I cannot work out how to tell it to ignore the element.
I hope that this is clear- any help would be much appreciated!!
Ewan
I hope you can help- I would like to know if there is a way to tell the search function in Oxygen to ignore elements?
In our project we are working in Chinese, and I would like to find the three-character string 繡毬燈 even if there is an element or line break at any point in the middle of it. With one search, I would like to find:
1)
繡
<lb n="2"/>毬燈
2)
繡毬
<lb n="2"/>燈
3)
繡毬燈
I am using 繡\s*?毬\s*?燈 so that it will search across line breaks/spaces, but I cannot work out how to tell it to ignore the element.
I hope that this is clear- any help would be much appreciated!!
Ewan
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Tell search to ignore elements?
Hi,
The Oxygen Find/Replace in Files has a "Regular expression" checkbox. Maybe you can check it and search for content like:
繡(\s*)<(.*?)/>(\s*)毬(\s*)<(.*?)/>(\s*)燈
Regards,
Radu
The Oxygen Find/Replace in Files has a "Regular expression" checkbox. Maybe you can check it and search for content like:
繡(\s*)<(.*?)/>(\s*)毬(\s*)<(.*?)/>(\s*)燈
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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