Creates a regular expression from a filter expression used in IDE dialogs.
Source position: lazstringutils.pas line 61
function SimpleSyntaxToRegExpr( |
const Src: string |
):string; |
Src |
|
Filter expression converted to a regular expression in the routine. |
Regular expression for the value in Src.
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.
| Version 4.4 | Generated 2025-11-08 | Home |