[PATCH 3/3] vbscript: Implement RegExp.Replace.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> --- dlls/vbscript/tests/regexp.vbs | 35 ++++++- dlls/vbscript/vbregexp.c | 177 ++++++++++++++++++++++++++++++++- 2 files changed, 206 insertions(+), 6 deletions(-)
Hi Jacek, Jacek Caban <jacek(a)codeweavers.com> wrote:
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> --- dlls/vbscript/tests/regexp.vbs | 35 ++++++- dlls/vbscript/vbregexp.c | 177 ++++++++++++++++++++++++++++++++- 2 files changed, 206 insertions(+), 6 deletions(-)
Accidently I also implemented it, however had no time to submit. Just in case I'm attaching my implementation with tests, probably it looks a bit simpler than yours. -- Dmitry.
On 10/22/19 4:10 PM, Dmitry Timoshkov wrote:
Hi Jacek,
Jacek Caban <jacek(a)codeweavers.com> wrote:
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> --- dlls/vbscript/tests/regexp.vbs | 35 ++++++- dlls/vbscript/vbregexp.c | 177 ++++++++++++++++++++++++++++++++- 2 files changed, 206 insertions(+), 6 deletions(-) Accidently I also implemented it, however had no time to submit. Just in case I'm attaching my implementation with tests, probably it looks a bit simpler than yours.
Thanks. My implementation is more complete (mostly wrt. $x patterns in replace strings), but it would be nice to have your tests. Thanks, Jacek
participants (2)
-
Dmitry Timoshkov -
Jacek Caban