Talk:Multisplit: Difference between revisions

→‎Correct result: Order is important
(→‎Correct result: Order is important)
Line 29:
 
Vincent> Double-check what a string analysed in D version.
 
:It shouldn't match all possible separators. It should match them in the order that they are given. With that example, the first "==" in "a!===b" is matched and removed from later matching because "==" is the separator that it checks for first. If you change the order of the separators to "!=", "==", "=" then it will match like this: a <!=> <==> b <=> <!=> c. If you change the order to "=", "!=", "==" then it will match like this: a! <=> <=> <=> b <=> ! <=> c. --[[User:Mwn3d|Mwn3d]] 15:27, 21 April 2011 (UTC)
 
==Small inaccuracy in the smaller non-RE Python version?==
Anonymous user