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.
|