Quote:
Originally Posted by WS64
Sorry, that is not correct. It should find empty strings plus all "words".
The * should always find more than the +.
Something is wrong here.
|
Only if the character to the immediate right of the cursor when doing the search is a letter. I suspect that Kevin is beginning from the beginning of the html file (or at least the very beginning of a line of code in the file), which will nearly always be "<".
That likely explains why it's returning nothing for him.
You are correct, though that * should always find more than +. And that's what I get when I use [a-zA-Z]* on text. I suspect Kevin would, too.
Where the OP was running into trouble was that he was reversing the default (un)greediness of * and + by checking the "Minimal Match" box.