Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | optional hyphen is not found in regexp mode | ||
---|---|---|---|
Product: | Writer | Reporter: | macias <bluedzins> |
Component: | editing | Assignee: | AOO issues mailing list <issues> |
Status: | CONFIRMED --- | QA Contact: | |
Severity: | Normal | ||
Priority: | P3 | CC: | elish, issues, npolyudova, tombil |
Version: | OOO300m4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | 4.1.0-dev |
Developer Difficulty: | --- |
Description
macias
2008-09-14 21:09:57 UTC
Reassigned to SBA. I reprodused this issue in OOO310m9, Window HP. There is no problem. Hyphen (-- ) is found in regular expressions mode. It's not clear what were the steps to reproduce. I couldn't find a problem on OOo310m9, Windows Vista, for these steps: 1. Create a new Writer document 2. Input some text with "--" in the couple of places 3. Select the first "--" symbol and click Ctrl+F - the en dash is in the Search For field 4. Click on the document to remove of its selection 5. Click Find - the en dash is found 6. Click once more - the second one is found 7. Click More Options and chose Regular Expression and repeate the search - both are found The same is for search for the special character "--"(General Punctuation U+2013) The same is for search for the Regular Expression \x2013 Thank you for you comments but this report is not about en-dash or hyphen, but it is about optional hyphen -- hyphen that shows up when line breaks. It's still unclear what exactly you did. I checked for soft hyphen which is not --, but Ctrl+"-" 1. F&R dialog -> uncheck Regular Expression -> Search for Ctrl+"-" - soft hyphen is found 2. F&R dialog -> uncheck Regular Expression -> Search for Special Character U+00AD(173)- soft hyphen is found 3. F&R dialog -> check Regular Expression -> Search for \x173- soft hyphen IS NOT found Really, the Soft hyphen can't be found using Regular Expression I did (1) but please note I tested this on previous version of OOW. Natalia_Hitekschool -> SBA The Soft hyphen can't be found using Regular Expression, see my steps for soft hyphen Ctrl+"-" (In reply to comment #5) > 3. F&R dialog -> check Regular Expression -> Search for \x173- soft hyphen > IS > NOT found 3. F&R dialog -> check Regular Expression -> Search for \xAD or \u00AD or \x{00AD} or Ctrl+V from clipboard - after more then 4 years, the same result - soft hyphen IS NOT found. (Windows XP all last LO, Aoo) Really, the Soft hyphen can't be found using Regular Expression. No regular expression for optional hyphen. AOO410m14(Build:9760) - Rev. 1582709 2014-03-30_04:11:07 - Rev. 1583103 Debian "Status: RESOLVED NOT_AN_ISSUE" How is it that this is not a issue? UTF char \ u00AD must not be found using reg exp??? Where is it defined? (In reply to tombil from comment #10) > "Status: RESOLVED NOT_AN_ISSUE" > > How is it that this is not a issue? > UTF char \ u00AD must not be found using reg exp??? > Where is it defined? According AOO help, search for optional hyphen is not defined. In what OpenOffice version such a search was successful? > According AOO help, search for optional hyphen is not defined. Help - Find & Replace - List of Regular Expressions -> table: ... \xXXXX Represents a special character based on its four-digit hexadecimal code (XXXX). The code for the special character depends on the font used. You can view the codes by choosing Insert - Special Character. \xXXXX is probably bug (not updated), now it has to be properly \hXXXX See too https://issues.apache.org/ooo/show_bug.cgi?id=119375 > In what OpenOffice version such a search was successful? Approx to version OOo v 3.2 it work reopened Confirmed with AOO410m14(Build:9760) - Rev. 1582709 Rev.1582709 Win 7 Not working in OpenOffice.org 3.0.1 Not working too in: OOo 2.2.1 LibreOf. 4.0.2.2 Working too in: OOo 2.3.1 OOo 3.2 LibreOf.: 3.3.2, 4.1.4.2, 4.2.2.1 Sorry, in my comment #12 I have stated incorrectly ...\hXXXX correctly should be: ...\uXXXX |