Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 736bb06

Browse files
committed
Added a paragraph to describe clear_cache(), and why it's necessary.
1 parent cd77df6 commit 736bb06

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

Doc/lib/libregsub.tex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,10 @@ \section{Standard Module \sectcode{regsub}}
4949
word delimiters. Capitalization is done by changing the first
5050
character of each word to upper case.
5151
\end{funcdesc}
52+
53+
\begin{funcdesc}{clear_cache}{}
54+
The regsub module maintains a cache of compiled regular expressions,
55+
keyed on the regular expression string and the syntax of the regex
56+
module at the time the expression was compiled. This function clears
57+
that cache.
58+
\end{funcdesc}

Doc/libregsub.tex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,10 @@ \section{Standard Module \sectcode{regsub}}
4949
word delimiters. Capitalization is done by changing the first
5050
character of each word to upper case.
5151
\end{funcdesc}
52+
53+
\begin{funcdesc}{clear_cache}{}
54+
The regsub module maintains a cache of compiled regular expressions,
55+
keyed on the regular expression string and the syntax of the regex
56+
module at the time the expression was compiled. This function clears
57+
that cache.
58+
\end{funcdesc}

0 commit comments

Comments
 (0)