SimpleSyntaxToRegExpr function
Creates a regular expression from a filter expression used in IDE dialogs.
Declaration
function SimpleSyntaxToRegExpr(const Src: string): stringDescription
Ensures that characters in Src are converted to the notation
needed for regular expressions, including '.', ',', ';', '*', '+', '?', and
'\'. The return value is enclosed in a regex single line expression
('^(...)$').
Used in the implementation of the Clean Directory and Change Encoding dialogs in the Lazarus IDE.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
