Cesar Romani 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.
>
> Many thanks in advance,
I can reproduce it. Looks like it has to do with the nested RE. But
only in the second line, hmm.
You can work around it with:
:set re=1
I did a bit of debugging, seems the problem is using the same compiled
regexp twice. Not sure yet what the proper solution is. I keep seeing
more and more bad stuff now that I look at the details of the NFA...
--
"I love deadlines. I especially like the whooshing sound they
make as they go flying by."
-- Douglas Adams
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.