View Single Post
Old 02-17-2018, 12:32 PM   #22
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,762
Karma: 206758686
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by WS64 View Post
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.
DiapDealer is online now   Reply With Quote