Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
(?<!\\)\"(?:[^\"]*(?<!\\)\\\")*[^\"]*\"
|
Description |
Matches quoted strings. Do not use anchors or it will not work as expected
|
Matches |
"" | "\\" | "\"" | "abcd" | "ab\"cd" | "abcd\\"
|
Non-Matches |
"ab | ab" | "ab\" | \"ab" | \"ab\"cd"
|
Author |
Rating:
Wesley Menezes
|
Title |
Test
Details
Pattern Title
|
Expression |
^(?:(?<scheme>[a-z]+):\/\/)?(?:(?<usern>[a-z0-9_.]*)(?::(?<passw>[a-z0-9_.]*))?@)?(?<domain>(?:(?:[a-z][a-z0-9_-]+\.?)+|[0-9]{1,3}(?:\.[0-9]{1,3}){3}))(?::(?<port>[0-9]+))?(?<path>(?:\/[.%a-z0-9_]*)+)?(?:\?(?<query>(?:&?[][a-z0-9_]+(?:\=?[a-z0-9_;]*)?)+))?(?:#(?<fragment>[a-z0-9_]+))?$
|
Description |
Matches URI's!
"filename.ext" is part of path. ER can't differ file name from directory name.
only domain is required.
scheme://usern:passw@domain:port/path/file.ext?querystring#fragment
|
Matches |
domain | ftp://localhost:21/ | 192.168.254.0 | http://username: [email protected]:1234/path1/pathX/filename.ext?query=string&example=v1#fragment
|
Non-Matches |
non-alpha://domain | domain:non-number
|
Author |
Rating:
Wesley Menezes
|
Displaying page
of
pages;
Items to