perl -le '"LISTS" =~ /(LIST|OF|LISTS)$/ and print "matched $1"'
In reply to Re: Superfluous options in regex alternations. by gaal in thread Superfluous subpatterns in regex alternations. by demerphq