make vi REGEX support compile again

Denys Vlasenko vda.linux at googlemail.com
Mon Jun 27 01:01:57 UTC 2011


On Tuesday 21 June 2011 18:33, walter harms wrote:
> 
> Hi list,
> vi supports regex, the bb vi did this also until someone broke it.
> This patch does a bit of clean up and make the regex support compile
> again. This is not production stuff.

Which is better than not working at all.
Applied, thanks.

> The code has some room for improvements but i want to make it working first.

Yes. Switching to POSIX regexp would be nice. Many libcs
don't have GNU regex functions.

> The big question: REGEX_SEARCH
>  should it depend on something or is it a selectable feature ?

I made it a config option now.

-- 
vda


More information about the busybox mailing list