diff options
author | Karl Berry <karl@freefriends.org> | 2012-07-26 00:13:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-07-26 00:13:27 +0000 |
commit | 40e66b62cf15c6041243e1bff5325feec4d2ac8d (patch) | |
tree | b89e962217eaadf5df85aa1a4aa5bd75ab030d1e /Master/texmf-dist/tex/latex/regexpatch | |
parent | d964467896393d6dd54a2f89955c18e52ae5a60c (diff) |
regexpatch 0.1b (25jul12)
git-svn-id: svn://tug.org/texlive/trunk@27155 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/regexpatch')
-rw-r--r-- | Master/texmf-dist/tex/latex/regexpatch/regexpatch.sty | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/regexpatch/regexpatch.sty b/Master/texmf-dist/tex/latex/regexpatch/regexpatch.sty index 511e44ddd58..b6b65c512b4 100644 --- a/Master/texmf-dist/tex/latex/regexpatch/regexpatch.sty +++ b/Master/texmf-dist/tex/latex/regexpatch/regexpatch.sty @@ -24,7 +24,7 @@ %% The released version of this bundle is available from CTAN. %% \RequirePackage{expl3} -\GetIdInfo$Id: regexpatch.dtx 0.1a 2012-06-07 12:00:00Z Enrico $ +\GetIdInfo$Id: regexpatch.dtx 0.1b 2012-07-24 12:00:00Z Enrico $ {Extending etoolbox patching commands} \ProvidesExplPackage {\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription} @@ -392,37 +392,37 @@ \group_end: } } -\NewDocumentCommand{\xpretobibmacro} { m m m } +\NewDocumentCommand{\xpretobibmacro} { m } { \xpatch_main:NNc \xpatch_pretocmd:Nnnn \use_none:nn { abx@macro@ \tl_to_str:n {#1} } } -\NewDocumentCommand{\xapptobibmacro} { m m m } +\NewDocumentCommand{\xapptobibmacro} { m } { \xpatch_main:NNc \xpatch_apptocmd:Nnnn \use_none:nn { abx@macro@ \tl_to_str:n {#1} } } -\NewDocumentCommand{\xpatchbibmacro} { s m m m } +\NewDocumentCommand{\xpatchbibmacro} { s m } { \IfBooleanTF{#1} { - \xpatch_main:NcN \xpatch_patchcmd_all:Nnnnn \use_none:nnn + \xpatch_main:NNc \xpatch_patchcmd_all:Nnnnn \use_none:nnn { abx@macro@ \tl_to_str:n {#2} } } { - \xpatch_main:NcN \xpatch_patchcmd_once:Nnnnn \use_none:nnn + \xpatch_main:NNc \xpatch_patchcmd_once:Nnnnn \use_none:nnn { abx@macro@ \tl_to_str:n {#2} } } } -\NewDocumentCommand{\regexpatchbibmacro} { s m m m } +\NewDocumentCommand{\regexpatchbibmacro} { s m } { \IfBooleanTF{#1} { - \xpatch_main:NcN \xpatch_regexpatchcmd_all:Nnnnn \use_none:nnn + \xpatch_main:NNc \xpatch_regexpatchcmd_all:Nnnnn \use_none:nnn { abx@macro@ \tl_to_str:n {#2} } } { - \xpatch_main:NcN \xpatch_regexpatchcmd_once:Nnnnn \use_none:nnn + \xpatch_main:NNc \xpatch_regexpatchcmd_once:Nnnnn \use_none:nnn { abx@macro@ \tl_to_str:n {#2} } } } |