| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/x86_64-linux-gnu/node_modules/re2/scripts/ |
Upload File : |
'use strict';
// This is a light-weight script to make sure that the package works.
const assert = require('assert').strict;
const RE2 = require("../re2");
const sample = "abbcdefabh";
const re1 = new RE2("ab*", "g");
assert(re1.test(sample));
const re2 = RE2("ab*");
assert(re2.test(sample));
const re3 = new RE2("abc");
assert(!re3.test(sample));