On Tue, May 21, 2013 at 7:13 AM, Cesar Romani <[email protected]> wrote: > By updating from 7.3.969 to 7.3.981 the following command doesn't work > anymore: > %s/""/\='"'.matchstr(getline("."), '\d\+\ze<').'"' > > Let's say I use this command on the following text: > <Title Action="GoTo" Page="">Table of Contents 5</Title> > <Title Action="GoTo" Page="">Acknowledgements 7</Title> > <Title Action="GoTo" Page="">Preface 9</Title> > <Title Action="GoTo" Page="">Introduction to the Second, Revised Edition > 11</Title> > <Title Action="GoTo" Page="">Introduction 13</Title> > > It works with 7.3.969 but not with 7.3.981.
Works for me with vim 7.3.981 Result: <Title Action="GoTo" Page="5">Table of Contents 5</Title> <Title Action="GoTo" Page="7">Acknowledgements 7</Title> <Title Action="GoTo" Page="9">Preface 9</Title> <Title Action="GoTo" Page="11">Introduction to the Second, Revised Edition 11</Title> <Title Action="GoTo" Page="13">Introduction 13</Title> -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
