Re: [PATCH v4 09/31] git-remote-mediawiki: Change the behaviour of a split

2013-06-11 Thread Eric Sunshine
On Tue, Jun 11, 2013 at 6:18 PM, Célestin Matte wrote: > A "split ' '" is turned into a "split / /", which changes its behaviour: the > old method matched a run of whitespaces (/\s*/), while the new one will match > a > single whitespace, which is what we want here. Indeed, in other contexts, I

[PATCH v4 09/31] git-remote-mediawiki: Change the behaviour of a split

2013-06-11 Thread Célestin Matte
A "split ' '" is turned into a "split / /", which changes its behaviour: the old method matched a run of whitespaces (/\s*/), while the new one will match a single whitespace, which is what we want here. Indeed, in other contexts, changing split(' ') to split(/ /) could potentially be a regression,