I updated my MiKTeX today. Now, I do not get any error without packages but it can not compile my latex files with packages.
Uninstalling and reinstalling both Texmaker and Miktex did not work. I could not find l3regex.sty file on internet.
LaTeX Error: File `l3regex.sty' not found.
My packages:
\usepackage[colorlinks=true, linkcolor = blue, urlcolor = blue, citecolor = blue, anchorcolor = red]{hyperref}
\usepackage[utf8]{inputenc}
\usepackage[top=1cm, bottom=2cm, left=1.5cm, right=1.5cm]{geometry}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{microtype}
\DisableLigatures{encoding = *, family = * }
\usepackage{coloring}
\pagenumbering{gobble}
l3regex
was distributed a while ago. If I understand correctly it should be part ofexpl3.sty
which should be installed by MikTeX'sl3kernel
package. So you should make sure thatl3kernel
is installed an up to date. I assume, though, that the real culprit is an older version of a different package that tries to use the old name to load the module. If the full update in both modes does not help, please try to prepare a so-called MWE (tex.meta.stackexchange.com/q/228/35864) and upload the full.log
file to a text-sharing website (e.g. pastebin)l3regex
.l3regex
has been integrated into the kernel. For documents explicitly loadingl3regex
it should be enough not to load it (make sure that at leastexpl3
orxparse
is loaded). In the code you link, just change\usepackage{xparse,l3regex}
to\usepackage{xparse}
. But with the preamble shown in this question it is much more likely that not all involved packages were updated correctly (the classic MikTeX update in Admin and User mode issue).