[erlang-questions] idea: service pack one

Caoyuan dcaoyuan@REDACTED
Wed Nov 14 02:49:48 CET 2007


On 11/14/07, Fredrik Svahn <fredrik.svahn@REDACTED> wrote:
> On Nov 13, 2007 10:27 PM, Joe Armstrong <erlang@REDACTED> wrote:
> > 6 ++++ fix BIFs for regexp, searching binaries etc - so people stop winging
>
> I guess I am one of the people whinging. :-)
>
> I have recently started writing an EEP on various operations on
> binaries that I would like to see added in a support library (e.g.
> searching for patterns/multipatterns, splitting by pattern, regex,
> some of them might be suitable to implement as BIFs, but that is a
> later question). Is there someone else out there already working on
> this?

I'd like to see something like:
<_:S/binary,'[a-z]','[^abc]','var[0-9]',$x,$/,d,d,d,d,$/,d,d,$/,d,d,$/,_/binary>>
where we can wrap any regexp in atom


>
> If not, please let me know what opertaions you would like to be able
> to do on binaries. Are there any design patterns or operations on
> binaries that you keep writing over and over again? Any code involving
> binaries which could be written in a more elegant way with a support
> function? Any operations which you feel would be suitable to implement
> as BIFs?
>
> BR /Fredrik
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>


-- 
- Caoyuan



More information about the erlang-questions mailing list