View Single Post
Old 03-16-2012, 02:53 PM   #4
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
You can do minimal matching using either:
- put a ? after the + or * to make it un-greedy as theducks said
- put a (?U) at the start of your regular expression as Toxaris says

I recommend using Regex DotAll so that your regex's automatically extend over multiple lines, which is generally what's needed.

If you use Replace, then the search will just wrap around now to allow you to search the whole document.

Count/Replace All cover the whole document and ignore Direction.

Last edited by meme; 03-16-2012 at 02:54 PM. Reason: slow typing
meme is offline   Reply With Quote