Skip to content

Commit 6533483

Browse files
committed
Fix missing commands
1 parent 289729f commit 6533483

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

ustcthesis.cls

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,9 +1607,16 @@
16071607
keywords* .clist_set:N = \l__ustc_keywords_en_clist ,
16081608
}
16091609

1610+
% \tl_set:Ne was not available until 2023-06-05.
1611+
\cs_if_exist:NF \tl_set:Ne
1612+
{ \cs_generate_variant:Nn \tl_set:Nn { Ne } }
1613+
1614+
% `\regex_if_match:` was not available until 2025-05-19.
1615+
\cs_if_exist:NF \regex_if_match:nVTF
1616+
{ \cs_new_protected:Npn \regex_if_match:nVTF { \regex_match:nVTF } }
1617+
16101618
\cs_new:Npn \__ustc_set_date:n #1
16111619
{
1612-
% \tl_set:Ne was not available until 2023-06-05
16131620
\tl_set:Nx \l_tmpa_tl {#1}
16141621
\regex_if_match:nVTF { ^ \d + - \d + - \d + $ } \l_tmpa_tl
16151622
{

0 commit comments

Comments
 (0)