At 10:25 AM 4/17/2009, you wrote:
>From: "Al Fairweather"
>
>Under the new version the regex is being too greedy and selecting the biggest range possible. In earlier versons I needed to tick REg-Exp Max to get the lot (which is this case I don't want anyway) - now I get the max even with plain Reg-Exp
>Example data
>"Fred","Jones","Main St. 123","65078 Town"
>before
>{.*}","
>selected just "Fred"," meaning that \1 would allow you to construct "Fred Jones","Main St. 123","65078 Town"
>now it selects "Fred","Jones","Main St. 123"," which makes joining Fred's name up impossible.
I haven't tried your specific example yet, but I don't think that VEDIT's RE "greedy" code has changed in many years.
Ted.
|
|