File: 15.05-match.t

package info (click to toggle)
libje-perl 0.066-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,008 kB
  • sloc: perl: 31,288; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 299 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
#!perl

# This file tests that string.match() works if JE::Object::RegExp is not
# already loaded, so it has to be in its own file.

print "1..1\n";

use JE;
if (new JE->eval(q _"foombedd".match("be")_) ne 'be' ) {
 print "# $@not ";
}
print "ok 1 - string.match() without RegExp already loaded\n";