What is the most correct regular expression (regex) for a UNIX file path?
For example, to detect something like this:
/usr/lib/libgccpp.so.1.0.2
The proper regular expression to match all UNIX paths is: [^\0]+
That is, one or more characters that are not a NUL.