From 736bb0659fba85392e5b2034ed492a9e8bfad8d9 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 18 Feb 1997 18:59:37 +0000 Subject: Added a paragraph to describe clear_cache(), and why it's necessary. --- Doc/lib/libregsub.tex | 7 +++++++ Doc/libregsub.tex | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/Doc/lib/libregsub.tex b/Doc/lib/libregsub.tex index 4c1497c..d075e99 100644 --- a/Doc/lib/libregsub.tex +++ b/Doc/lib/libregsub.tex @@ -49,3 +49,10 @@ pattern uses any characters except letters, digits and underscores as word delimiters. Capitalization is done by changing the first character of each word to upper case. \end{funcdesc} + +\begin{funcdesc}{clear_cache}{} +The regsub module maintains a cache of compiled regular expressions, +keyed on the regular expression string and the syntax of the regex +module at the time the expression was compiled. This function clears +that cache. +\end{funcdesc} diff --git a/Doc/libregsub.tex b/Doc/libregsub.tex index 4c1497c..d075e99 100644 --- a/Doc/libregsub.tex +++ b/Doc/libregsub.tex @@ -49,3 +49,10 @@ pattern uses any characters except letters, digits and underscores as word delimiters. Capitalization is done by changing the first character of each word to upper case. \end{funcdesc} + +\begin{funcdesc}{clear_cache}{} +The regsub module maintains a cache of compiled regular expressions, +keyed on the regular expression string and the syntax of the regex +module at the time the expression was compiled. This function clears +that cache. +\end{funcdesc} -- cgit v0.12