Re: [PATCH v2 07/22] git-remote-mediawiki: Change style of some regular expressions

2013-06-07 Thread Eric Sunshine
On Fri, Jun 7, 2013 at 5:42 PM, Célestin Matte wrote: > - Remove m modifier when useless (m// and // was used randomly; this makes the > code more coherent) > - Remove stringy split (split('c', ...) instead of split(/c/, ...)) > - Use {}{} instead of /// when slashes are used inside the regexp so

[PATCH v2 07/22] git-remote-mediawiki: Change style of some regular expressions

2013-06-07 Thread Célestin Matte
- Remove m modifier when useless (m// and // was used randomly; this makes the code more coherent) - Remove stringy split (split('c', ...) instead of split(/c/, ...)) - Use {}{} instead of /// when slashes are used inside the regexp so as not to escape it. A "split ' '" is turned into a "split / /"