texlive[67631] Master/texmf-dist: naive-ebnf (14jul23)
commits+karl at tug.org
commits+karl at tug.org
Fri Jul 14 23:05:37 CEST 2023
Revision: 67631
http://tug.org/svn/texlive?view=revision&revision=67631
Author: karl
Date: 2023-07-14 23:05:37 +0200 (Fri, 14 Jul 2023)
Log Message:
-----------
naive-ebnf (14jul23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/naive-ebnf/naive-ebnf.pdf
trunk/Master/texmf-dist/source/latex/naive-ebnf/naive-ebnf.dtx
trunk/Master/texmf-dist/tex/latex/naive-ebnf/naive-ebnf.sty
Modified: trunk/Master/texmf-dist/doc/latex/naive-ebnf/naive-ebnf.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/naive-ebnf/naive-ebnf.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/naive-ebnf/naive-ebnf.dtx 2023-07-14 21:05:26 UTC (rev 67630)
+++ trunk/Master/texmf-dist/source/latex/naive-ebnf/naive-ebnf.dtx 2023-07-14 21:05:37 UTC (rev 67631)
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{naive-ebnf}
%<*package>
-[2023-07-13 0.0.12 EBNF in Plain Text]
+[2023-07-14 0.0.13 EBNF in Plain Text]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -185,7 +185,7 @@
% \DescribeMacro{\EbnfRegex}
% A regular expression is possible too:
-% \docshotOptions{firstline=6,lastline=11}
+% \docshotOptions{firstline=6,lastline=12}
% \begin{docshot}
% \documentclass{article}
% \pagestyle{empty}
@@ -197,6 +197,7 @@
% <bool> := "TRUE" | "FALSE" \\
% <integer> := /(+\char`\|-)?[0-9]+/ \\
% <byte> := /[0-9a-f]\char`\{2\char`\}/ \\
+% <number> := /[1-9]+/ /[0-9]+/
% \end{ebnf}
% \end{document}
% \end{docshot}
@@ -406,7 +407,8 @@
\regex_replace_all:nnN
{ ([^\s])\|([^\s]) } {\1\\textbar{}\2} \ebnf_tmp%
%
- \regex_replace_all:nnN { \s/(.+?)/\s }%
+ \regex_replace_all:nnN
+ { /(.+?)/ }%
{\c{ebnf at regexp}{\1}} \ebnf_tmp%
\cs_new:Npn\ebnf_curled{%
\regex_replace_all:nnNT
Modified: trunk/Master/texmf-dist/tex/latex/naive-ebnf/naive-ebnf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/naive-ebnf/naive-ebnf.sty 2023-07-14 21:05:26 UTC (rev 67630)
+++ trunk/Master/texmf-dist/tex/latex/naive-ebnf/naive-ebnf.sty 2023-07-14 21:05:37 UTC (rev 67631)
@@ -31,7 +31,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{naive-ebnf}
-[2023-07-13 0.0.12 EBNF in Plain Text]
+[2023-07-14 0.0.13 EBNF in Plain Text]
@@ -141,7 +141,8 @@
\regex_replace_all:nnN
{ ([^\s])\|([^\s]) } {\1\\textbar{}\2} \ebnf_tmp%
%
- \regex_replace_all:nnN { \s/(.+?)/\s }%
+ \regex_replace_all:nnN
+ { /(.+?)/ }%
{\c{ebnf at regexp}{\1}} \ebnf_tmp%
\cs_new:Npn\ebnf_curled{%
\regex_replace_all:nnNT
More information about the tex-live-commits
mailing list.