|
|
#1 |
|
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 180
Karma: 9070
Join Date: Sep 2010
Device: Cybook Opus
|
Find/Replace Won't Find
What's up with that? |
|
|
|
|
|
#2 |
|
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 180
Karma: 9070
Join Date: Sep 2010
Device: Cybook Opus
|
On further experimentation, an actual emdash can be found, but — can't, even in Code View.
|
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 848775
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Book view should show and match the actual unicode character. Code view should be translating em and en dashes to the entity (&...; ).
|
|
|
|
|
|
#4 |
|
Member
![]() Posts: 20
Karma: 12
Join Date: Sep 2011
Device: Kindke
|
When use use a &nnnn; character in Sigil, it get transformed into the actual unicode character so you no longer can search for the string "&nnn;". What I do to work around this is to copy the character I want to search for into the search popup in order to build my search expression.
The regular expression search use Qt’s QRegExp. There must be a syntax in there to specify unicode character using their number but I don't know the syntax to do this. |
|
|
|
|
|
#5 |
|
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 180
Karma: 9070
Join Date: Sep 2010
Device: Cybook Opus
|
|
|
|
|
|
|
#6 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 848775
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
|
|
|
|
|
#7 |
|
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 180
Karma: 9070
Join Date: Sep 2010
Device: Cybook Opus
|
Yes, I see — when I'm in Code View and — when I'm in Book View.
But in Code View I try to do a Find/Replace looking for "—" and it tells me it found 0 instances. Trying to find "—" works. |
|
|
|
|
|
#8 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,420
Karma: 11289119
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
On occasion when my search says 0 and I know there are more, I change search mode from Regular Expression to Normal or vice-a-versa.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RegEx find and replace | iblesq | Sigil | 1 | 01-10-2011 09:26 PM |
| Find and Replace the symbol ¬ | oldbwl | Workshop | 5 | 12-30-2010 07:52 AM |
| Find / replace | bremler | Sigil | 6 | 12-17-2010 03:26 PM |
| REGEX find and replace help please | potestus | Sigil | 13 | 09-18-2010 04:14 PM |
| Using Find/Replace with BD | Otter | Sony Reader | 7 | 02-28-2009 01:49 PM |