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
Required Node 6.0+ for the ES6 support, Or you can use [Babel](http://babeljs.io/) to support Node below 6.0.
42
41
43
-
Using [Webpack](http://webpack.github.io) and [babel-loader](https://github.com/babel/babel-loader) to pack it if want to use in browsers.
42
+
Using [Webpack](http://webpack.github.io) and [babel-loader](https://github.com/babel/babel-loader) to pack it if want to use in browsers.
43
+
44
+
## Additional
45
+
46
+
In SRL-JavaScript we apply `g` flag as default to follow the [Simple Regex](https://simple-regex.com/) "standard", so we provide more API to use regex conveniently.
47
+
48
+
-`isMatching` - Validate if the expression matches the given string.
49
+
-`getMatch` - Get first match of the given string, like run `regex.exec` once.
50
+
-`getMatches` - Get all matches of the given string, like a loop to run `regex.exec`.
0 commit comments