Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with xregexp 3.1.0 anymore #2

Closed
nerk opened this issue Apr 20, 2016 · 1 comment
Closed

Not working with xregexp 3.1.0 anymore #2

nerk opened this issue Apr 20, 2016 · 1 comment

Comments

@nerk
Copy link

nerk commented Apr 20, 2016

Bridjs specifies version of XRegExp as

"xregexp": ">=2.0.0"

which will use the latest XRegExp, currently 3.1.0. As of 3.1.0,

require('xregexp').XRegExp

is no longer supported and Bridjs fails:

C:\Users\thomas.kern\work\webstorm\demonstrator\node_modules\gazejs\node_modules\bridjs\lib\abstract_struct.js:43
        arrayExp = XRegExp("(?<type>\\w+)\\[(?<count>\\d)\\]");
                   ^

TypeError: XRegExp is not a function
    at Object.<anonymous> 

XRegExp 3.0.0 still works.

@jiahansu
Copy link
Owner

It has been fixed in 0.3.4-5

Thanks for you report this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants