Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
114a439f
Commit
114a439f
authored
Apr 02, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Apr 02, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Fixed parsing /=/ regexp.
parent
353553e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
lex.c
dlls/jscript/lex.c
+1
-2
regexp.js
dlls/jscript/tests/regexp.js
+3
-0
No files found.
dlls/jscript/lex.c
View file @
114a439f
...
...
@@ -963,8 +963,7 @@ literal_t *parse_regexp(parser_ctx_t *ctx)
TRACE
(
"
\n
"
);
while
(
*
ctx
->
ptr
!=
'/'
)
ctx
->
ptr
--
;
while
(
*--
ctx
->
ptr
!=
'/'
);
re
=
++
ctx
->
ptr
;
while
(
ctx
->
ptr
<
ctx
->
end
&&
*
ctx
->
ptr
!=
'/'
)
{
...
...
dlls/jscript/tests/regexp.js
View file @
114a439f
...
...
@@ -580,4 +580,7 @@ ok(i === 1, "String.prototype.seatch.apply(obj, 'b') = " + i);
i
=
" undefined "
.
search
();
ok
(
i
===
null
,
"' undefined '.search() = "
+
i
);
tmp
=
"=)"
.
replace
(
/=/
,
"?"
);
ok
(
tmp
===
"?)"
,
"'=)'.replace(/=/, '?') = "
+
tmp
);
reportSuccess
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment