From 2bc243b3dcd10d6de3efd80c3e91413d83b476fe Mon Sep 17 00:00:00 2001 From: eileencodes Date: Tue, 19 Sep 2023 15:25:13 -0400 Subject: [YARP] Implement regex flags This fixes the TODO in the code that was passing 0 instead of the regex flags. --- test/yarp/compiler_test.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/yarp/compiler_test.rb b/test/yarp/compiler_test.rb index 9af208f625..876e952640 100644 --- a/test/yarp/compiler_test.rb +++ b/test/yarp/compiler_test.rb @@ -252,6 +252,13 @@ module YARP def test_RegularExpressionNode test_yarp_eval('/yct/') + test_yarp_eval('/yct/i') + test_yarp_eval('/yct/x') + test_yarp_eval('/yct/m') + test_yarp_eval('/yct/im') + test_yarp_eval('/yct/mx') + test_yarp_eval('/yct/xi') + test_yarp_eval('/yct/ixm') end def test_StringConcatNode -- cgit v1.2.3