是否有关于多行正则表达式搜索的支持文档,并取代了对ace编辑器的支持。
用于多行搜索的正则表达式
\\begin{.+?}(.*\n.*)*?\\end{(.+?)}
我要搜索的乳胶文档内容是:
\documentclass{article}
\usepackage[utf8]{inputenc}
\title{fsdfds}
\author{yadu.rvt }
\date{July 2019}
\usepackage{natbib}
\usepackage{graphicx}
\begin{document}
\maketitle
\section{Introduction}
There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.
There is another theory which states that this has already happened.
\begin{figure}[h!]
\centering
\includegraphics[scale=1.7]{universe}
\caption{The Universe}
\label{fig:universe}
\end{figure}
\section{Conclusion}
``I always thought something was fundamentally wrong with the universe'' \citep{adams1995hitchhiker}
\bibliographystyle{plain}
\bibliography{references}
\end{document}
\ n不适用于ace编辑器中的正则表达式搜索。我需要在ace编辑器中启用多行正则表达式搜索。请帮忙。已检查并在https://regex101.com/
中工作