diff options
author | Neil <nyamatongwe@gmail.com> | 2020-04-13 07:41:08 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2020-04-13 07:41:08 +1000 |
commit | 1769cc3907d3f06254053ab76bd9e827417f07cf (patch) | |
tree | 58230e7b09fd443c78e05121a50635bbd30970f8 /lexilla/test/examples/cpp/x.cxx | |
parent | 86d705bdc57ed92b36824229ff441bab7483f4ba (diff) | |
download | scintilla-mirror-1769cc3907d3f06254053ab76bd9e827417f07cf.tar.gz |
Replace islower function and add tests for JavaScript regular expressions.
Diffstat (limited to 'lexilla/test/examples/cpp/x.cxx')
-rw-r--r-- | lexilla/test/examples/cpp/x.cxx | 4 |
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; } |