<div dir="ltr">Hello,<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 11:35 AM, Eduardo Gurgel <span dir="ltr"><<a href="mailto:edgurgel@gmail.com" target="_blank">edgurgel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is it possible to match the prefix of a binary using ETS match spec?</div></blockquote><div><br></div><div>It is not possible.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>And if it's not, is it a limitation or just a missing implementation?<br></div></div></blockquote><div><br></div><div>At the moment it is both :)</div><div><br></div><div>I've never tried to do something like that, but I would guess you work around this limitation by extracting what you have to match from the binary into a surrounding tuple before doing the insert. Right now there is afaik no plan to add the possibility to do this.</div><div><br></div><div>Lukas</div></div></div></div>