(2 rows)
-- systematically test char classes
-select * from test_regex('[[:alnum:]]+', E'x\u1500\u1237', 'L');
+select * from test_regex('[[:alnum:]]+', E'x*\u1500\u1237', 'L');
test_regex
-----------------
{0,REG_ULOCALE}
- {xᔀሷ}
+ {x}
(2 rows)
-select * from test_regex('[[:alpha:]]+', E'x\u1500\u1237', 'L');
+select * from test_regex('[[:alpha:]]+', E'x*\u1500\u1237', 'L');
test_regex
-----------------
{0,REG_ULOCALE}
- {xᔀሷ}
+ {x}
(2 rows)
select * from test_regex('[[:ascii:]]+', E'x\u1500\u1237', 'L');
{a9}
(2 rows)
-select * from test_regex('[[:word:]]+', E'x_\u1500\u1237', 'L');
+select * from test_regex('[[:word:]]+', E'x_*\u1500\u1237', 'L');
test_regex
-----------------
{0,REG_ULOCALE}
- {x_ᔀሷ}
+ {x_}
(2 rows)
E'\u1500\u1237', 'iELMP');
-- systematically test char classes
-select * from test_regex('[[:alnum:]]+', E'x\u1500\u1237', 'L');
-select * from test_regex('[[:alpha:]]+', E'x\u1500\u1237', 'L');
+select * from test_regex('[[:alnum:]]+', E'x*\u1500\u1237', 'L');
+select * from test_regex('[[:alpha:]]+', E'x*\u1500\u1237', 'L');
select * from test_regex('[[:ascii:]]+', E'x\u1500\u1237', 'L');
select * from test_regex('[[:blank:]]+', E'x \t\u1500\u1237', 'L');
select * from test_regex('[[:cntrl:]]+', E'x\u1500\u1237', 'L');
select * from test_regex('[[:space:]]+', E'x \t\u1500\u1237', 'L');
select * from test_regex('[[:upper:]]+', E'xX\u1500\u1237', 'L');
select * from test_regex('[[:xdigit:]]+', E'xa9\u1500\u1237', 'L');
-select * from test_regex('[[:word:]]+', E'x_\u1500\u1237', 'L');
+select * from test_regex('[[:word:]]+', E'x_*\u1500\u1237', 'L');