git/contrib/mw-to-git
Célestin Matte 05d4c7b1c4 git-remote-mediawiki: make a regexp clearer
Perl's split function takes a regex pattern argument. You can also
feed it an expression, which is then compiled into a regex at runtime.
It therefore works to pass your pattern via single quotes, but it is
much less obvious to a reader that the argument is meant to be a
regex, not a static string. Using the traditional slash-delimiters
makes this easier to read.

Signed-off-by: Célestin Matte <celestin.matte@ensimag.fr>
Signed-off-by: Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-06-14 09:02:15 -07:00
..
t git-remote-mediawiki: spelling fixes 2013-04-12 12:13:05 -07:00
.gitignore git-remote-mediawiki: use toplevel's Makefile 2013-02-08 10:02:32 -08:00
git-remote-mediawiki.perl git-remote-mediawiki: make a regexp clearer 2013-06-14 09:02:15 -07:00
git-remote-mediawiki.txt git-remote-mediawiki: new wiki URL in documentation 2013-04-04 09:54:38 -07:00
Makefile git-remote-mediawiki: use toplevel's Makefile 2013-02-08 10:02:32 -08:00