View Single Post
Old 01-12-2012, 10:35 AM   #41
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 590
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / Bookeen Frontlight / Kobo Mini / Kindle 3 / Nook Color
Quote:
Originally Posted by theducks View Post
\B is a dictionary based word boundary?

1)They are no longer Mdash (they got mangled in OCR/conversion).

2)How to tell the difference between a hyphenated words and a Mdash run-together? Spelling. Visually 1 or both sides of the dash fail spell check (and
a few pass completely )
No, \B is "not word boundary"
I thought you meant "– bla" was fine and "–bla" was not, and with –\B you should find "–bla"

But actually I am wrong, you need \b (although I do not understand why), so "–\b" will find "–bla".
Of course if – got replaced by - this will not really work anymore
WS64 is offline