mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
update regex pattern
This commit is contained in:
parent
6b5911f82e
commit
5cfc084a53
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ Url::Url(
|
||||||
smatch results;
|
smatch results;
|
||||||
|
|
||||||
static const regex pattern( // @TODO user:password@#fragment?
|
static const regex pattern( // @TODO user:password@#fragment?
|
||||||
R"regex(^((\w+):\/\/)?([^:\/]+)?(:(\d+))?([^\?$]+)?(\?(.*))?)regex"
|
R"regex(^((\w+)?:\/\/)?([^:\/]+)?(:(\d+)?)?([^\?$]+)?(\?(.*)?)?)regex"
|
||||||
);
|
);
|
||||||
|
|
||||||
regex_search(
|
regex_search(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue