[Tex/LaTex] ‘l3regex.sty’ not found

l3regexpreamble

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}

Best Answer

I solved this problem by adding this in preamble:

\usepackage{expl3}
\expandafter\def\csname ver@l3regex.sty\endcsname{}