diff options
author | nyamatongwe <devnull@localhost> | 2011-03-27 12:11:51 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-03-27 12:11:51 +1100 |
commit | 2570c57829a3577db3aa7323096fb14780b9147c (patch) | |
tree | d430a0fef282e796feecebf1626b076a560e54b7 /test | |
parent | 2abb669eac49043bf8916cc9c596c4ffc5bdd76e (diff) | |
download | scintilla-mirror-2570c57829a3577db3aa7323096fb14780b9147c.tar.gz |
Fix for bug with wrong recognition of number after regex literal. Bug #3209108.
Added test for this case.
Diffstat (limited to 'test')
-rw-r--r-- | test/examples/x.html | 1 | ||||
-rw-r--r-- | test/examples/x.html.styled | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/examples/x.html b/test/examples/x.html index 7fa1a9f0e..caebcf41a 100644 --- a/test/examples/x.html +++ b/test/examples/x.html @@ -1,5 +1,6 @@ <html xmlns="http://www.w3.org/1999/xhtml"> <script type="text/javascript"> +var b = /abc/i.test('abc'); 'x\ </t>' </script> diff --git a/test/examples/x.html.styled b/test/examples/x.html.styled index 5a6aebe5e..3e50a1147 100644 --- a/test/examples/x.html.styled +++ b/test/examples/x.html.styled @@ -1,5 +1,6 @@ {1}<html{8} {3}xmlns{8}={6}"http://www.w3.org/1999/xhtml"{1}>{0} {1}<script{8} {3}type{8}={6}"text/javascript"{1}>{40} +{46}var{41} {46}b{41} {50}={41} {52}/abc/i{46}.test{50}({49}'abc'{50});{41} {49}'x\ </t>'{41} {1}</script>{0} |