User:Shenme/testing2

Inserting a character from the right-to-left (RTL) character set may rearrange following left-to-right words in a line. It may replace delimiters with their partners. Any following (Western?) alphabetic char stops the madness!

The first line below has no magic. The characters are seen in same order as entered. The next two lines have a Hebrew then Arabic RTL character inserted just after the "ABC".
 * ABC 01 - 12 + 23 * 34 % 45 ( 56 XYZ 67
 * ABCא 01 - 12 + 23 * 34 % 45 ( 56 XYZ 67
 * ABCش 01 - 12 + 23 * 34 % 45 ( 56 XYZ 67

How confounding. The space-delimited 'words' are order reversed. The "(" has become a ")" in appearance. Everything has become RTL in order, but only up to the next alphabetic character.