mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
RegExpSubstitute: Enabled "\0" for replacing to the string matched by the complete expression.
This commit is contained in:
parent
5c1334dbd6
commit
b16d3d0762
@ -290,7 +290,7 @@ const WCHAR* CMeasure::CheckSubstitute(const WCHAR* buffer)
|
||||
|
||||
if (rc > 1)
|
||||
{
|
||||
for (int j = rc - 1 ; j > 0 ; j--)
|
||||
for (int j = rc - 1 ; j >= 0 ; j--)
|
||||
{
|
||||
size_t new_start = ovector[2*j];
|
||||
size_t in_length = ovector[2*j+1] - ovector[2*j];
|
||||
|
Loading…
Reference in New Issue
Block a user