#NEWLINE# def test_new_regexp( self , space ) : #NEWLINE# #INDENT# w_res = space . execute ( "return Regexp.new('..abc..') == Regexp.compile('..abc..')" ) #NEWLINE# assert ( w_res is w_res . w_true ) #NEWLINE# w_res = space . execute ( 'return Regexp.new(/abc/).source' ) #NEWLINE# assert ( space . str_w ( w_res ) == 'abc' )