OT: look-behind assertions

23 views
Skip to first unread message

Felipe Gasper

unread,
Aug 30, 2011, 10:54:18 PM8/30/11
to nod...@googlegroups.com
Forgive the OT post, but does anyone know why no JS engine has yet
implemented look-behind assertions in regular expressions?

-FG

tjholowaychuk

unread,
Aug 30, 2011, 11:46:28 PM8/30/11
to nodejs
you can kinda fake it with the callback

Diogo Resende

unread,
Aug 31, 2011, 5:27:02 AM8/31/11
to nod...@googlegroups.com

You're talking about negative look-behind/ahead right? I don't use
positive
ones, they are easy to emulate without look-*. I actually asked myself
that
a while ago.. :P

---
Diogo R.

Reply all
Reply to author
Forward
0 new messages