retofl <re
retofl returns 0 if the expression cannot be represented as a finite language. Any regular expression which includes a Kleene star term cannot be represented as a finite language. This rule does not apply to Kleene star expressions that are equivalent to the empty string.
re must conform to the Grail format for regular expressions.
% cat re1
{}
% retofl <re1
% cat re2
abc+""+def
% retofl <re2
abc
def