[Bf-committers] Regex support in the text editor for advanced find and replace

Mitchell Stokes mogurijin at gmail.com
Wed Mar 27 05:56:13 CET 2013


On Tue, Mar 26, 2013 at 7:47 PM, Campbell Barton <ideasman42 at gmail.com>wrote:

> On Wed, Mar 27, 2013 at 5:55 AM, Ricardo Lovelace <iklsr at yahoo.com> wrote:
> > Hi,
> >
> > Has there ever been an effort or a consideration of adding some Regex
> support to the text editor for 'advanced' find and or replace. I think this
> could be useful in the long run for obvious reasons.
>
> Its come up before that we don't have regex in outliner search
> http://markmail.org/message/sz7i7bq57gtn3b26
>
> IMHO this is more a feature for a full featured programmers text editor.
>
> Of course this would be useful to some - but IMHO doesn't warrant
> adding a dependency on LibPCRE (or other regex libs),
> It could be implemented as a python operator and use pythons regex
> without adding new dependencies but this would be tricky to integrate
> with existing find.
>
> Personally I'm not keen to have blenders text editor become something
> as big as vim/scite/emacs/notepad++/geany etc...
> Although if the text-editors Python-API was improved we could have
> more features like this without the burden on maintaining so much C
> source.
>
> --
> - Campbell
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>

Yeah, to be honest, if I want a text editor, I don't bother with Blender's
text editor (except for very simple scripts). And, I don't think it really
needs to become some big powerful text editor. Why bother maintaining
something like that when there are plenty of good editors? Although, on the
topic of extra dependencies for regex, doesn't Boost provide regex support?

-- Mitchell


More information about the Bf-committers mailing list