Displaying page
of
pages;
Items to
Title |
Test
Details
Linux Path Verify
|
Expression |
^/{1}(((/{1}\.{1})?[a-zA-Z0-9 ]+/?)+(\.{1}[a-zA-Z0-9]{2,4})?)$
|
Description |
This expressions was written for C#. Matches all valid Linux absolute paths (files or folders). Will not work for relative paths that do not begin with a /, Also will only match files that have extensions consisting of 2, 3, or 4 characters. Currently fails with _ . or - in the path, this will be updated at some point.
|
Matches |
/mnt/share/ | /home/.BASH | /mnt/share/pic.jpeg | /mnt/share/install.sh
|
Non-Matches |
mnt/share | //mnt///share// | /mnt/share/install.installer | /home\user
|
Author |
Rating:
Brandon Vasquez
|
Displaying page
of
pages;
Items to