Thread: RegEx in ncx
View Single Post
Old 03-30-2012, 02:15 AM   #1
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
RegEx in ncx

Last night I wanted to change something in my toc.ncx. Since it was a relative easy S&R, instead of a heading '1' I wanted it to be 'Chapter 1', I wanted to use RegEx for it.
No problemo, the RegEx for that is relatively simple. Upon execute, it crashed. I tried several times and it kept crashing. I know for sure that it did work in previous versions.

While I am typing this, I wonder if I had the search mode to 'active HTML' instead of 'current document' while having the toc.ncx as the active tab.
Even if that is the case, I would still not expect Sigil to crash. I would expect either a warning or an automatic change in search mode.

I will test further tonight.
Toxaris is offline   Reply With Quote