Quote:
Originally Posted by Jabby
Are you saying that if I set up a Regex expression and get a count and then use this expression to do a F&R I could get a different replace count depending on the cursor position. I would think that sort of thing should be avoided.
|
Yes because regexes can be variable length. For example:
Code:
start ... stuff ... start ... stuff ... end ... stuff ... end
You can construct an expression to match everything between "start" and "end". Since there is a "start" and "end" nested inside of a "start" and "end" you will get one match if you start looking at the very beginning and a completely different match if you start looking between the first and second "start".