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

2013-06-10 Thread Matthieu Moy
Célestin Matte writes: > A "split ' '" is turned into a "split / /", which changes its behaviour: the > old method matched a run of whtespaces (/\s*/) It case there's a v4: whtespaces -> whitespaces. -- Matthieu Moy http://www-verimag.imag.fr/~moy/ -- To unsubscribe from this list: send the li

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

2013-06-09 Thread Célestin Matte
A "split ' '" is turned into a "split / /", which changes its behaviour: the old method matched a run of whtespaces (/\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,