You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At our solution, We want to use the RE2 engine in our system and we wanted to validate the regexes both on the frontend side (React) and in the backend (node). for the backend we were thinking of using RE2 npm package and for the frontend we want to use RE2JS.
Sadly, when we were trying to run some regexes that errored out with the RE2 package we noticed that RE2JS accepted them.
Why is there this difference between the two packages for the same engine RE2?
I realize that both packages are not being maintained by the same people but is there a way to have the same rules for both frontend and backend packages?
Thank you in advance and keep up the good work!
The text was updated successfully, but these errors were encountered:
Hello,
At our solution, We want to use the RE2 engine in our system and we wanted to validate the regexes both on the frontend side (React) and in the backend (node). for the backend we were thinking of using RE2 npm package and for the frontend we want to use RE2JS.
Sadly, when we were trying to run some regexes that errored out with the RE2 package we noticed that RE2JS accepted them.
the code used to compare the regexes:
The resulting csv file is this one:
re2_vs_re2js.csv
Why is there this difference between the two packages for the same engine RE2?
I realize that both packages are not being maintained by the same people but is there a way to have the same rules for both frontend and backend packages?
Thank you in advance and keep up the good work!
The text was updated successfully, but these errors were encountered: