RosettaCodeData/Task/Conditional-structures/TXR/conditional-structures-3.txr
2023-07-01 13:44:08 -04:00

8 lines
221 B
Text

@# match a line which contains some piece of text x
@# after the rightmost occurence of : such that the same piece
@# of text also occurs at the start of the line preceded by -->
@(all)
@*junk:@x
@(and)
-->@x@/.*/
@(end)