Add test for Regex RTL substring matching.