yah sastra-vidhim utsrjya
yah-anyone; sastra-vidhim-the regulations of the scriptures; utsrjya-giving up; vartate-remains; kama-karatah-acting whimsically in lust; na-never; sah-he; siddhim-perfection; avapnoti-achieves; na-never; sukham-happiness; na-never; param-the supreme; gatim-perfectional stage.