"PXER"4#v(0"dedaol PXER :DOOG">:#,_$a, v >0"dedaol ton PXER :DAB">:#,_$a,@ v < >0"...*"1#vC0"nrettap dab no tcelfer ton did C :DAB">:#,_$a,@ >#v_0"edoc rre on tub ,detcelfer nrettap dab :DAB">:#,_$a,@ >0"edoc rre sah dna detcelfer nrettap dab :DOOG">:#,_$a,v v < >0")\}3{]9-0[(\"1#vC0"delipmoc )}3{]9-0[( nrettap :DOOG">:#,_$a, v >0"elipmoc ton did )}3{]9-0[( nrettap :DAB">:#,_$a,@ v < >0")cba("0#vE0"dehctam sa dewohs )cba( :DAB">:#,_$a,@ >0"hctam ton did )cba( :DOOG">:#,_$a,v v < >0")321("0#vE0"dehctam )321( nrettap :DOOG">:#,_$a, v >0"hctam ton did )321( nrettap :DAB">:#,_$a,@ v < >1-#v_0"gnirts tluser 1 setacidni SOT :DOOG">:#,_$a,v >0"1 ton saw SOT :DAB">:#,_$a,@ v < >'(-#v_'1-#v_'2-#v_'3-#v_')-#v_0"gnirts tluser tcerroc :DOOG">:#,_$a, v > > > > >0"gnirts tluser tcerrocnI :DAB">:#,_$a,@ v < >0")32("0#vE0"dehctam )23( :DAB">:#,_$a,@ >0"hctam ton did )23( :DOOG">:#,_$a,v v < >F0"hsarc a ni tluser ton did F :DOOG">:#,_$a,v v < >0")}4{]9-0[(-)}3{]9-0[( )\)}3{]9-0[((\"1#vC v v < >0"deliaf )}4{]9-0[(-)}3{]9-0[( )\)}3{]9-0[((\ gnilipmoc :DAB">:#,_$a,@ v < >"dekrow )}4{]9-0[(-)}3{]9-0[( )\)}3{]9-0[((\ gnilipmoc :DOOG">:#,_$a,v v < >0"0987-654 )321("0#vE0"dehctam 0987-654 )321( :DOOG">:#,_$a, v >0"hctam ton did 0987-654 )321( :DAB">:#,_$a,@ v < >4-#v_0"sgnirts tluser 4 :DOOG">:#,_$a, v >0"sgnirts tluser 4 ton erew ereht :DAB">:#,_$a,@ v < >'(-#v_'1-#v_'2-#v_'3-#v_')-#v_' -#v_'4-#v_'5-#v_'6-#v_'--#v_'7-#v_v v < < < < < < < < < < < >0"0987-654 )321( ton si gnirts tluser tsriF :DAB">:#,_$a,@ ^ < < < < v < >'8-#^_'9-#^_'0-#^_#^_0"tcerroc si gnirts tsriF :DOOG">:#,_$a,v v < >'1-#v_'2-#v_'3-#v_#v_0"tcerroc si gnirts dnoces :DOOG">:#,_$a, v > > > >0"321 ton si gnirts dnoces :DAB">:#,_$a,@ v > >'4-#v_'5-#v_'6-#v_#v_0"tcerroc si gnirts driht :DOOG">:#,_$a,v > > > >0"654 ton si gnirts driht :DAB">:#,_$a,@ v < >'7-#v_'8-#v_'9-#v_'0-#v_#v_0"tcerroc si gnirts htruof :DOOG">:#,_$a,v > > > > >0"0987 ton si gnirts htruof :DAB">:#,_$a,@ v < >F0"hsarc ton did F :DOOG">:#,_$a,@ Expected Output: ---------------- GOOD: REXP loaded GOOD: bad pattern reflected and has err code GOOD: pattern ([0-9]{3}) compiled GOOD: (abc) did not match GOOD: pattern (123) matched GOOD: TOS indicates 1 result string GOOD: correct result string GOOD: (32) did not match GOOD: F did not result in a crash GOOD: compiling \(([0-9]{3})\) ([0-9]{3})-([0-9]{4}) worked GOOD: (123) 456-7890 matched GOOD: 4 result strings GOOD: First string is correct GOOD: second string is correct GOOD: third string is correct GOOD: fourth string is correct GOOD: F did not crash