Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
The regex should be able to capture these variations and extract relevant parts like the server URL, username, and password or token. Any guidance or examples would be greatly appreciated.1. --server api.blr-ocp1.lab.rbbn.com --username mgore --password abc1 +23 2. --server api.blr-ocp1.lab.rbbn.com --token kfjshdssahdvkbvjkbj
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regex for matching URLs with username/password and token
by choroba (Cardinal) on Mar 10, 2025 at 10:01 UTC | |
by jdporter (Paladin) on Mar 10, 2025 at 20:22 UTC | |
|
Re: Regex for matching URLs with username/password and token
by Corion (Patriarch) on Mar 10, 2025 at 11:27 UTC | |
|
Re: Regex for matching URLs with username/password and token
by hippo (Archbishop) on Mar 10, 2025 at 10:59 UTC | |
by Anonymous Monk on Mar 10, 2025 at 20:05 UTC | |
|
Re: Regex for matching URLs with username/password and token
by Marshall (Canon) on Mar 10, 2025 at 13:14 UTC | |
|
Re: Regex for matching URLs with username/password and token
by Anonymous Monk on Mar 10, 2025 at 17:33 UTC |