regexpcompile.js 272 Bytes
Newer Older
1 2 3 4 5 6 7
// Copyright 2014 the V8 project authors. All rights reserved.
// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY
// Flags: --allow-natives-syntax --harmony
var _re = /ab/g;
var _pattern = "foo";
var _flags = "foo";
%RegExpCompile(_re, _pattern, _flags);