aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/cpp/x.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexilla/test/examples/cpp/x.cxx')
-rw-r--r--lexilla/test/examples/cpp/x.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/lexilla/test/examples/cpp/x.cxx b/lexilla/test/examples/cpp/x.cxx
index 384997072..8e42167b2 100644
--- a/lexilla/test/examples/cpp/x.cxx
+++ b/lexilla/test/examples/cpp/x.cxx
@@ -13,4 +13,8 @@ int main() {
double x[] = {3.14159,6.02e23,1.6e-19,1.0+1};
int y[] = {75,0113,0x4b};
printf("hello world %d %g\n", y[0], x[0]);
+
+ // JavaScript regular expression (14) tests
+ let a = /a/;
+ let b = /[a-z]+/gi;
}