SynEdit
SynEdit copied to clipboard
Does SynRegExpr also support regular expression's case changing replacement syntax?
I'm a user of HeidiSQL project (which depends on SynRegExpr
). I found that I can not replace changing case with regex in HeidiSQL. I googled for TRegExpr
and found out the original implementation actually support replace changing case with regex.
'\U$1\r' transforms into '<Match[1] in uppercase>\r'
TRegExpr Documentation https://regex.sorokin.engineer/en/latest/tregexpr.html#substitute
TRegExpr Repo https://github.com/andgineer/TRegExpr
Please investigate this issue.
I filed an issue originally in HeidiSQL repo here .
I have updated TRegExpr with the current code from andgineer in the forked https://github.com/HeidiSQL/SynEdit - I could create a pull request for it, shall I? Be aware that this is a large commit, though it's already tested and compiled here.
See pr #145