View Single Post
Old 02-17-2018, 01:43 PM   #26
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: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
It does not matter where the cursor is, I always find nothing with [a-zA-Z]* and I always find something when searching for [a-zA-Z]+.
When I put the same example in my editor (Ultraedit) both * and + find something.
And also for the one liner, it does not matter where the cursor is.

I agree that I hardly search for * but mostly for +, but still Sigil behaves strange here.

And honestly, I don't understand where the cursorposition comes into play here.
But even if that were important, it does not explain why a search for + at exactly the same cursorposition does find something when * does not.

Oh, and I usually avoid \w, I never know if it will find German umlauts or not, so I prefer to always write the exact letters I mean!

@DialDiaper, "Are you saying it doesn't for you?". Yes, I am. I can't get Sigil to find anything when searching for [a-zA-Z]*

Last edited by WS64; 02-17-2018 at 01:46 PM.
WS64 is offline   Reply With Quote