Christian Brabandt wrote:
> On Fr, 31 Mai 2013, Ron Aaron wrote:
>
> > I think there should be an option (probably an option, not a regex
> > flag) which controls whether or not the engine finds "ff" (unicode
> > 0xfb00) when searching for "f", for example. It seems to me that
> > most people may not need it, but those of us who frequently edit
> > multilingual or other rich texts, encounter the need quite often.
> >
> > Searching (in the above example) for "ff" should only find "ff", but
> > searching for "f" should also find it (if the option were enabled).
>
> Wouldn't it be enough, if we enhance the equivalence classes a bit? I
> have posted a patch, which enhances the equivalence classes a while ago.
> It didn't include U+FB00, but I think, we could easily add the missing
> chars.
And we would need a flag like \Z that tells the regexp to use
equivalence classes for every character. Otherwise typing the regexp is
very clumsy. It would be an expensive flag (slow) but that's a small
price to pay if you need to search this way.
--
'Well, here's something to occupy you and keep your mind off things.'
'It won't work, I have an exceptionally large mind.'
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// 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.