in reply to Re^3: File::Find untaint in taint-mode under Win32
in thread File::Find untaint in taint-mode under Win32

I don't understand the purpose, why not /(.*)/ ?

Replies are listed 'Best First'.
Re^5: File::Find untaint in taint-mode under Win32
by jmcnamara (Monsignor) on May 09, 2011 at 14:48 UTC
    I don't know.

    A similar regex is used on Mac OS according to the docs:

    The default untaint_pattern ... on Mac OS is set to qr|^(.+)$|

    --
    John.