[v8-users] RegExp

13 views
Skip to first unread message

vlad

unread,
May 7, 2010, 8:24:48 PM5/7/10
to v8-users
Hi,
It appears that RegExp is not exposed to c++... Is there any work
around?

Ideally it would be good to have v8::RegExp::New("...");

Thanks
Vlad

--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users

Camilo Aguilar

unread,
May 7, 2010, 9:07:09 PM5/7/10
to v8-u...@googlegroups.com
Attached you will find a little path to support IsRegExp in C++ API. I'm not familiar with the v8 contribution process. If somebody can review it, thank you.

Camilo Aguilar
isregexp_cpp_support.patch

vlad vladbph

unread,
May 7, 2010, 9:38:16 PM5/7/10
to v8-u...@googlegroups.com
Yes, I have this change too :) but I was more talking about instantiation of RegExp not only checking the type.

Erik Corry

unread,
May 8, 2010, 4:18:58 AM5/8/10
to v8-u...@googlegroups.com
Den 8. maj 2010 03.07 skrev Camilo Aguilar <cam...@cloudescape.com>:
Attached you will find a little path to support IsRegExp in C++ API. I'm not familiar with the v8 contribution process. If somebody can review it, thank you.

 

Camilo Aguilar


On Fri, May 7, 2010 at 8:24 PM, vlad <vla...@gmail.com> wrote:
Hi,
It appears that RegExp is not exposed to c++... Is there any work
around?

Ideally it would be good to have v8::RegExp::New("...");

Thanks
Vlad

--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users

--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
Reply all
Reply to author
Forward
0 new messages