mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55: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;
|
||||
|
||||
static const regex pattern( // @TODO user:password@#fragment?
|
||||
R"regex(^((\w+):\/\/)?([^:\/]+)?(:(\d+))?([^\?$]+)?(\?(.*))?)regex"
|
||||
R"regex(^((\w+)?:\/\/)?([^:\/]+)?(:(\d+)?)?([^\?$]+)?(\?(.*)?)?)regex"
|
||||
);
|
||||
|
||||
regex_search(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue