1--TEST--
2php-users@php.gr.jp #10830
3--EXTENSIONS--
4mbstring
5--SKIPIF--
6<?php
7function_exists('mb_ereg') or die("skip mb_ereg() is not available in this build");
8?>
9--FILE--
10<?php
11$a="aaa\n<>";
12
13var_dump( mb_ereg("^[^><]+$",$a) );
14var_dump( !!preg_match("/^[^><]+$/",$a) );
15?>
16--EXPECT--
17bool(false)
18bool(false)
19