Monday 12 June 2017

Creating Javascript Regex from C

Is it possible to create a RegExp javascript object, using C/C++? I'm just curious about it.

Example:

const myCLib = require('myCLib');
myCLib("/\\s/", "g"); => return regex object /\g/g

Thank you.



via Celo

No comments:

Post a Comment