1SELECT a, b, ST_RelateMatch(a,b) FROM
2	( SELECT '101202FFF'::text as a, 'TTTTTTFFF'::text as b) as f;
3SELECT a, b, ST_RelateMatch(a,b) FROM
4	( SELECT '101202FFF'::text as a, 'T0T2TTFFF'::text as b) as f;
5SELECT a, b, ST_RelateMatch(a,b) FROM
6	( SELECT '101202FFF'::text as a, '101202FFF'::text as b) as f;
7SELECT a, b, ST_RelateMatch(a,b) FROM
8	( SELECT '101202FFF'::text as a, '101102FFF'::text as b) as f;
9SELECT a, b, ST_RelateMatch(a,b) FROM
10	( SELECT 'FFFFFFFFF'::text as a, '1FFFFFFFF'::text as b) as f;
11SELECT a, b, ST_RelateMatch(a,b) FROM
12	( SELECT 'FFFFFFFFF'::text as a, '*FFFFFFFF'::text as b) as f;
13