in reply to Question regarding a regex
> I ran across it while seeking an alternative to -T to check for a text file
FYI, it seems the OP ran across this function at this stackoverflow question.