repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Import: Handle uploads with sha1 starting with 0 properly
[mediawiki.git]
/
resources
/
src
/
mediawiki
/
mediawiki.Uri.strict.regexp
blob
2ac7d2fce9e199af7ab916bb228db662e025da42
1
^
2
(?:(?<protocol>[^:/?#]+):)?
3
(?://(?:
4
(?:
5
(?<user>[^:@/?#]*)
6
(?::(?<password>[^:@/?#]*))?
7
)?@)?
8
(?<host>[^:/?#]*)
9
(?::(?<port>\d*))?
10
)?
11
(?<path>(?:[^?#/]*/)*[^?#]*)
12
(?:\?(?<query>[^#]*))?
13
(?:\#(?<fragment>.*))?