[fpc-pascal] Last fix for RegExpr (error on empty input)

AlexeyT aaa5500 at ya.ru
Sat Feb 15 16:15:16 CET 2020


My app does mass replace with regex. in big text, user enters regex "\b" 
and replaces it to eg "__". app calls Substitute() with each found 
match, match is zero length so your code will NOT replace it to "__". 
but it's needed to replace it to "__".

-- 
Regards,
Alexey



More information about the fpc-pascal mailing list