Is possible to parse the <path>
part from GET /<path> HTTP/1.1
using pattern matching, or anything gracefully rather than direct string manipulation such as split
or slice
No. Pattern matching does not do partial string matching. Splitting and slicing and iterating are the only ways you can get the contents of it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With