Skip to content

Commit

Permalink
feat(zutil): add \zutil_seq_gset_split_keep_braces:Nnn (gset version)
Browse files Browse the repository at this point in the history
  • Loading branch information
muzimuzhi committed Nov 16, 2024
1 parent 68cc21e commit 3e5795f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions zutil/zutil.sty
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
}
\cs_generate_variant:Nn \zutil_seq_set_split_keep_braces:Nnn { NnV }

\cs_new_protected:Npn \zutil_seq_gset_split_keep_braces:Nnn #1
{
\__zutil_seq_set_split:NNNNnn
\__kernel_tl_gset:Nx \__zutil_seq_trim_spaces:n #1
\zutil_seq_gset_split_keep_braces:Nnn
}
\cs_generate_variant:Nn \zutil_seq_gset_split_keep_braces:Nnn { NnV }

% This implementation is quicker than adding another \prg_do_nothing:
% and \exp_args:No trick to \__zutil_seq_set_split:Nw and
% \__zutil_seq_set_split:w, resp.
Expand Down

0 comments on commit 3e5795f

Please sign in to comment.